[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Incomplete support of Darwin's -isysroot gcc option?
From: |
Peter O'Gorman |
Subject: |
Re: Incomplete support of Darwin's -isysroot gcc option? |
Date: |
Mon, 06 Mar 2006 08:07:51 +0900 |
User-agent: |
Mozilla Thunderbird 1.0.2 (Macintosh/20050317) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Stéphane Corthésy wrote:
| Hi,
|
| I think that I found a bug: when trying to compile some third-party
| library (gpgme), with the latest libtool version (1.5.22; I replaced
| gpgme's old libtool with 1.5.22) on MacOSX 10.4, trying to create a
| static universal library (i.e. binary with 2 architectures, i386 and
| ppc), I need to patch libtool to change its (system) library search paths.
|
It sounds like the -isysroot option is missing at link time?
Do you see the option in the libtol command invocation? '/bin/sh ../libtool
- -isysroot...'
What variable did you put the -isysroot option in at configure time? CFLAGS?
CXXFLAGS? If the project does not use these variables at link time (automake
does, hand crafter Makefile.in's might not), you also have to put the
- -isysroot -arch stuff into a variable that is used at link time (LDFLAGS?).
Peter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)
iQCVAwUBRAtvRriDAg3OZTLPAQLulgQArFQMOuNndjJIUPJiz8eKsLNYedAeUBf3
Wre74emH4zq91urnRt/wZTDxNRTHGQAR+oC8XFcWy3woDP5wWAsxPh1Scdpe3HqA
xOba0BlgCcvnCpUtsaqecPGpdE08sQ3vJUkcBv2K6gY2gUDz4O7ssYXZSzREv6Tu
9dff5KLxs8c=
=0h/c
-----END PGP SIGNATURE-----