Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: Universal Binary / Libtool / libxml2 - Problem



On Mon, 2006-03-13 at 21:43 +0100, Eric CIRCLAEYS wrote:
> Hello,
> 
> 
> I have got an issue compiling my framework as a Universal Binary.
> It is an autotools/libtool based code linking.
> Everything is up to date and I am using the right flags detailed in
> the Apple documentation.
> 

This is a gnu libtool bug. I added some support for -isysroot to
gnulibtool-1.5.22, but currently don't search in the -isysroot specified
root for .la files (not that Apple ships any .la files in the SDKs). The
"solution" to your problem is very icky. Run ./configure, then edit the
generated libtool script and set
sys_lib_search_path_spec="/Developer/SDKs/MacOSX10.4u.sdk/usr/lib"
instead of whatever gcc generated garbage you see in there.

Another alternative is to buy an intel mac, I believe that they ship
with fat libraries in /, so you don't have to do sdk tricks :-)

Peter

Attachment: signature.asc
Description: This is a digitally signed message part

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/unix-porting/email@hidden

This email sent to email@hidden

References: 
 >Fwd: Universal Binary / Libtool / libxml2 - Problem (From: Eric CIRCLAEYS <email@hidden>)
 >Fwd: Universal Binary / Libtool / libxml2 - Problem (From: Eric CIRCLAEYS <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.