Re: Universal ICU build
Re: Universal ICU build
- Subject: Re: Universal ICU build
- From: "Peter O'Gorman" <email@hidden>
- Date: Fri, 14 Apr 2006 10:10:03 +0900
On Thu, 2006-04-13 at 17:15 -0800, Mark Alldritt wrote:
> /usr/bin/ar rv uconvmsg/libuconvmsg.a uconvmsg/uconvmsg_dat.o
> ar: uconvmsg/libuconvmsg.a is a fat file (use libtool(1) or lipo(1) and
> ar(1) on it)
> ar: uconvmsg/libuconvmsg.a: Inappropriate file type or format
> gnumake[3]: *** [uconvmsg/libuconvmsg.a(uconvmsg/uconvmsg_dat.o)] Error 1
>
> I realize that this is probably too cryptic and is mussing too much context
> for anyone to debug, but I wonder if this rings any bells?
Unfortunately ar(1) can't do much with universal static libraries that
have had ranlib run on them.
You could write a wrapper script that use lipo to thin the archive, do
the requested operation on each thin archive, then lipo them together
again. It may end up being easier to build twice and lipo the final
result though. You could also try avoiding ranlibing the archives (but
then you'd have to ranlib them manually when the linker needed them). To
try that set RANLIB=: AR_FLAGS="-S" before running configure.
I don't think Apple's ICU build sees this issue because they build
shared libraries.
Hope this helps,
Peter
Attachment:
signature.asc
Description: This is a digitally signed message part
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden