Re: compile problem

2004-09-08 Thread Gary V . Vaughan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Salut!
On 7 Sep 2004, at 22:03, Alexandre Duret-Lutz wrote:
Gary == Gary V Vaughan [EMAIL PROTECTED] writes:
 Gary Do we need to patch automake to accept LT_INIT for
 Gary subdir-objects projects, or do you think AC_PROG_CC_C_O
 Gary should be merged with _LT_COMPILER_C_O?
It's AM_PROG_CC_C_O Automake needs, not AC_PROG_CC_C_O.
Meant to ask, why doesn't AM_INIT_AUTOMAKE (conditionally if necessary) 
simply invoke AM_PROG_CC_C_O?

Cheers,
Gary.
- --
Gary V. Vaughan  ())_.  [EMAIL PROTECTED],gnu.org}
Research Scientist   ( '/   http://tkd.kicks-ass.net
GNU Hacker   / )=   http://www.gnu.org/software/libtool
Technical Author   `(_~)_   http://sources.redhat.com/autobook
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (Darwin)
iD8DBQFBPjxmFRMICSmD1gYRAgeaAJ4/wq5y1z5VnCj7b2Qdbvpc/7IewgCfeK0l
bWg3f/gPk4Ods4JOJrFtTNU=
=F7Z1
-END PGP SIGNATURE-

___
Libtool mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/libtool


Re: GNU Libtool 1.5.8 released.

2004-09-08 Thread Alexandre Oliva
On Aug 11, 2004, Daniel Reed [EMAIL PROTECTED] wrote:

 On 2004-08-12T09:00+0900, Peter O'Gorman wrote:
 ) Daniel Reed wrote:
 )  On 2004-08-11T10:06+0900, Peter O'Gorman wrote:
 )  ) Daniel Reed wrote:
 )  )   libtool-1.4.2-multilib.patch
 )  )This patch is needed for multilib support.  It has been sent upstream
 )  )but basically rejected in its current form as being too Red Hat specific.
 )  )  [Is this still the case? Is there an alternate solution for this problem, or
 )  )   is .multilib still the only one?]
 ) Thanks for the url. I have to agree with Scott, looks like adding this patch
 ) here would be a bad thing, it may break other linux distros. Someone,
 ) someday, will come up with a generic way of doing this that works on all
 ) flavours of GNU/linux. They don't seem to have done so yet.

 Would it be reasonable to make this a ./configure option at libtool build
 time?

God, no!

It means every package would have to use this option at configure
time, otherwise it wouldn't work.

I think the best we can do is to run something like:

case `$CC $CFLAGS -print-file-name=libc.so || gcc -print-file-name=libc.a` in
# common case, good
*/lib/libc.so | */lib/libc.a) libsuff= ;;
# many 64/32 arches use lib for 32-bit libs and lib64 for 64-bit libs
*/lib64/libc.so | */lib64/libc.a) libsuff=64 ;;
# mips64-linux uses lib32 for N32
*/lib32/libc.so | */lib32/libc.a) libsuff=32 ;;
# Shouldn't happen...  What now?
*) libsuff= ;;
esac


This should probably be amended to match Debian GNU/Linux x86_64
practice.

-- 
Alexandre Oliva http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   [EMAIL PROTECTED], gcc.gnu.org}
Free Software Evangelist  [EMAIL PROTECTED], gnu.org}


___
Libtool mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/libtool