configure/compile universal binary mac
mchinen at gmail.com
Sun Mar 7 18:48:59 CET 2010
I'm trying to obtain a universal libtag.a to use for static linking on mac,
but my attempts thusfar have failed.
I'm configuring with
../configure --disable-shared --enable-universal --enable-universal-binary
--disable-debug --enable-static --enable-unicode
I downloaded the 1.6.1 source and tried this on both 10.4 G4 (ppc), 10.4
core duo (i386), and 10.6 core 2 duo (i386?), and all yield (after make/make
install) a libtag.a that doesn't have i386 architecture in it. I've also
tried without --enable-universal/--enable-universal-binary and it still
produced a libtag.a without i386 arch (but had ppc even in the build on my
intel mac!). I also tried to obtain the library from mac ports with "port
install taglib +universal" but it fails with some error.
I'm no expert at configuring feature options, so please tell me if there's
some other feature name I don't know about. Any ideas?
Even though I haven't gotten it to link yet for intel, it works nicely on
ppc. Thanks for the work!
P.S. I get the following error, in which LD says it's not there:
-framework Cocoa -lportaudio -lmad -framework AudioToolbox -framework
AudioUnit -framework CoreAudio -framework CoreServices -ltag -lz -arch i386
-Wl,-Y,1455 -mmacosx-version-min=10.4 -isysroot
cputype (18, architecture ppc) does not match cputype (7) for specified
-arch flag: i386 (can't load from it)
TagLib::FileRef::FileRef(char const*, bool,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the taglib-devel