libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tag inference broken?


From: Peter O'Gorman
Subject: Re: tag inference broken?
Date: Sun, 07 Dec 2003 00:14:06 +0900
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Albert Chin wrote:
| On Sat, Dec 06, 2003 at 10:57:52PM +0900, Peter O'Gorman wrote:
|
|>Okay, I must be stupid, the tag inference goes like this:
|>case $base_compile in
|>
| Before the case, what is the output of:
|   echo .$CC.

And things begin to make a little more sense, with echo .$CC. and echo
.$base_compile. before the case statement in both compile and link
modes, I get the following output # comments added:

/bin/sh ../libtool --mode=compile gcc -arch ppc -arch i386
- -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c -o ltdl.lo `test -f 'ltdl.c'
|| echo './'`ltdl.c
.gcc -arch ppc -arch i386. # This is .$CC.
. gcc -arch ppc -arch i386 -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c. # This
is .$base_compile.
mkdir .libs
~ gcc -arch ppc -arch i386 -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c
- -fno-common -DPIC -o .libs/ltdl.o
~ gcc -arch ppc -arch i386 -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c
- -o ltdl.o >/dev/null 2>&1
/bin/sh ../libtool --mode=link gcc -arch ppc -arch i386  -g -O2   -o
libltdl.la -rpath /usr/local/lib -no-undefined -version-info 4:0:1
ltdl.lo -ldl
.gcc -arch ppc -arch i386. # This is .$CC.
.gcc.   # And .$base_compile.
libtool: link: unable to infer tagged configuration
libtool: link: specify a tag with `--tag'
make[1]: *** [libltdl.la] Error 1
make: *** [all] Error 2

Looks like it is simply infering too early in link mode.

Peter
- --
Peter O'Gorman - http://www.pogma.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQCVAwUBP9HyOLiDAg3OZTLPAQJRYAQAvPtRKJMpnA9fpTTsjP5QziY4GfLHkgsS
HSJtJJaa8Apx0cTqTeKR+1SPO+VzecrYVAntwj0Tb80aYRAN/kgMNbN7OblMLDnv
5AMQTeFSibUF1LJCHFbNYDU+5qDwrrNHoKJfFgURbznlBG6H6QGBOWlwQPgrQJ4a
cYf/Ldy7VUM=
=wwRD
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]