On Mon, Jan 02, 2006 at 11:36:40AM -0500, John Belmonte wrote:
> Kurt Roeckx wrote:
> > Please show the whole command line.  I can reproduce this if for
> > instance I use "gcc-4.0" instead of gcc or cc.  I then get:
> > $ libtool --mode=link gcc-4.0 tst.c -o tst
> > /usr/bin/libtool: line 606: --: command not found
> > libtool: link: unable to infer tagged configuration
> > libtool: link: specify a tag with `--tag'
> > 
> > Adding a --tag=CC fixes my problem:
> > $libtool --mode=link --tag=CC gcc-4.0 tst.c -o tst
> > gcc-4.0 tst.c -o tst
> > 
> > Normally using gcc also fixes the problem:
> > $libtool --mode=link gcc tst.c -o tst
> > gcc tst.c -o tst
> 
> As gcc-4.0 is the default compiler in sid, that would seem to be
> triggering the problem.  I'm using "gcc" on the command line.  The
> "--tag" option doesn't seem to be documented in "info libtool" so I
> can't comment on that workaround.

I just use gcc-4.0 because I didn't have gcc-3.4 or something
installed.  It look at the string to know which tag it should be
using, and if it doesn't find it you can use --tag to make it do
the proper thing.

And yes, it's know that the documetation for --tag is a little
missing, there is an open bug about that too.


Kurt



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to