>
> Hi,
>
> is there already a Xcode project to build the xar lib on Mac OS X? I
> haven't found one in the xar source archive.
There is a wrapper around the xar library here, but I haven't touched
it in a long time: http://code.google.com/p/xar/source/browse/#svn/
trunk/XarKit
It was contributed to the project by another developer.
> The interest I see in this is that with the current make/config files,
> you just get the native version (PPC or i386) of the library and
> apparently Xcode does not think it's a static library either.
libxar can be built fat with:
CFLAGS="-arch i386 -arch ppc" LDFLAGS="-arch i386 -arch ppc" ./configure
This also produces a static archive of lib/libxar.a
Rob
I understand your pain, and it is cumbersome to use the various SDKs
by hand and an XCode project sould be preferable. However, here is
an document detailing how to use the SDK and compile for multiple
architectures for 10.4:
http://developer.apple.com/documentation/Porting/Conceptual/PortingUnix/compiling/chapter_4_section_3.html
Rob