I'm trying to obtain a universal libtag.a to use for static linking on mac, but my attempts thusfar have failed.<br><br>I'm configuring with <br>../configure --disable-shared --enable-universal --enable-universal-binary --disable-debug --enable-static --enable-unicode --disable-dependency-tracking --disable-monolithic<br>
<br>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.<br>
<br>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?<br><br>Even though I haven't gotten it to link yet for intel, it works nicely on ppc. Thanks for the work!<br>
<br>Michael<br><br>P.S. I get the following error, in which LD says it's not there:<br><br>Ld /Users/apple/svncheckouts/chinentest/NoiseMP3/build/NoiseMP3104.build/Release/NoiseMP3.build/Objects-normal/i386/NoiseMP3 normal i386<br>
cd /Users/apple/svncheckouts/chinentest/NoiseMP3<br> /Developer/usr/bin/g++-4.0 -o /Users/apple/svncheckouts/chinentest/NoiseMP3/build/NoiseMP3104.build/Release/NoiseMP3.build/Objects-normal/i386/NoiseMP3 -L/Users/apple/svncheckouts/chinentest/NoiseMP3/build/Release -L/Users/apple/svncheckouts/chinentest/NoiseMP3 -L/Users/apple/svncheckouts/chinentest/NoiseMP3 -L/Users/apple/svncheckouts/chinentest/NoiseMP3 -L/Users/apple/svncheckouts/chinentest/NoiseMP3 -L/Users/apple/svncheckouts/chinentest/NoiseMP3/ppclibs -L/Users/apple/svncheckouts/chinentest/NoiseMP3/intellibs -L/Users/apple/svncheckouts/chinentest/NoiseMP3 -F/Users/apple/svncheckouts/chinentest/NoiseMP3/build/Release -F/Users/apple/svncheckouts/chinentest/NoiseMP3 -filelist /Users/apple/svncheckouts/chinentest/NoiseMP3/build/NoiseMP3104.build/Release/NoiseMP3.build/Objects-normal/i386/NoiseMP3.LinkFileList -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 /Developer/SDKs/MacOSX10.4u.sdk<br>
/Developer/usr/bin/../libexec/gcc/i686-apple-darwin8/4.0.1/ld: warning /Users/apple/svncheckouts/chinentest/NoiseMP3/ppclibs/libtag.a archive's cputype (18, architecture ppc) does not match cputype (7) for specified -arch flag: i386 (can't load from it)<br>
/Developer/usr/bin/../libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:<br>TagLib::FileRef::FileRef(char const*, bool, TagLib::AudioProperties::ReadStyle)<br>TagLib::FileRef::~FileRef()<br>TagLib::FileRef::audioProperties() const<br>