It kind of fixed it. Everything is universal, but nothing works because my libs/bins are linked against .out files in /var/tmp ! These files are not even present in that location when I look...
[EMAIL PROTECTED]:/Users/mingus/emergent/src/temt/lib/.libs -> !otool otool -L libtemt-4.0.7.1.0.0.dylib libtemt-4.0.7.1.0.0.dylib: /usr/local/lib/libtemt-4.0.7.1.dylib (compatibility version 2.0.0, current version 2.0.0) /usr/local/lib/libgslcblas.0.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.9) /var/tmp//ccmGRqIw.out (compatibility version 0.0.0, current version 0.0.0) /usr/local/lib/libgsl.0.dylib (compatibility version 11.0.0, current version 11.0.0) /usr/lib/libedit.2.dylib (compatibility version 2.0.0, current version 2.0.0) /usr/local/lib/libsimage.20.dylib (compatibility version 27.0.0, current version 27.1.0) Inventor.framework/Versions/B/Inventor (compatibility version 46.0.0, current version 46.0.0) /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0) SoQt.framework/Versions/A/SoQt (compatibility version 25.0.0, current version 25.1.0) QtGui.framework/Versions/4/QtGui (compatibility version 4.2.0, current version 4.2.3) QtOpenGL.framework/Versions/4/QtOpenGL (compatibility version 4.2.0, current version 4.2.3) QtCore.framework/Versions/4/QtCore (compatibility version 4.2.0, current version 4.2.3) Qt3Support.framework/Versions/4/Qt3Support (compatibility version 4.2.0, current version 4.2.3) QtXml.framework/Versions/4/QtXml (compatibility version 4.2.0, current version 4.2.3) QtNetwork.framework/Versions/4/QtNetwork (compatibility version 4.2.0, current version 4.2.3) QtSql.framework/Versions/4/QtSql (compatibility version 4.2.0, current version 4.2.3) /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime (compatibility version 1.0.0, current version 240.0.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 18.0.0) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 1.0.0, current version 22.0.0) /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) [EMAIL PROTECTED]:/Users/mingus/emergent/src/emergent/bin/.libs -> otool -L ./emergent ./emergent: Inventor.framework/Versions/B/Inventor (compatibility version 46.0.0, current version 46.0.0) /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0) SoQt.framework/Versions/A/SoQt (compatibility version 25.0.0, current version 25.1.0) QtGui.framework/Versions/4/QtGui (compatibility version 4.2.0, current version 4.2.3) QtOpenGL.framework/Versions/4/QtOpenGL (compatibility version 4.2.0, current version 4.2.3) QtCore.framework/Versions/4/QtCore (compatibility version 4.2.0, current version 4.2.3) Qt3Support.framework/Versions/4/Qt3Support (compatibility version 4.2.0, current version 4.2.3) QtXml.framework/Versions/4/QtXml (compatibility version 4.2.0, current version 4.2.3) QtNetwork.framework/Versions/4/QtNetwork (compatibility version 4.2.0, current version 4.2.3) QtSql.framework/Versions/4/QtSql (compatibility version 4.2.0, current version 4.2.3) /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime (compatibility version 1.0.0, current version 240.0.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 18.0.0) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 1.0.0, current version 22.0.0) /usr/local/lib/libemergent-4.0.7.1.dylib (compatibility version 2.0.0, current version 2.0.0) /usr/local/lib/libtemt-4.0.7.1.dylib (compatibility version 2.0.0, current version 2.0.0) /usr/local/lib/libgslcblas.0.dylib (compatibility version 1.0.0, current version 1.0.0) /var/tmp//ccmGRqIw.out (compatibility version 0.0.0, current version 0.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.9) /usr/local/lib/libgsl.0.dylib (compatibility version 11.0.0, current version 11.0.0) /usr/lib/libedit.2.dylib (compatibility version 2.0.0, current version 2.0.0) /usr/local/lib/libsimage.20.dylib (compatibility version 27.0.0, current version 27.1.0) /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) On 10/9/07, Brian <[EMAIL PROTECTED]> wrote: > > Peter, `autoreconf -fi' fixed it. Thank you! > > On 10/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote: > > > > On Mon, Oct 08, 2007 at 06:38:11PM -0600, Brian wrote: > > > Peter, thanks for your comments. I build libtool from source, and am > > using > > > 1.5.24. I manually ran the large link command, inserting `-arch i386 > > -arch > > > ppc' after g++, and it did create a universal library: > > > http://pastey.net/75062 > > > > > > But it's not clear to me what I need to do to get libtool to do this > > on its > > > own, and also why it's not doing it. I modified CC/CXX in the Makefile > > to > > > also pass the arch flags at that point, and the only difference is > > that > > > when libtool is called, it gets them twice, and it proceeds to strip > > them > > > out of the command twice! > > > > > > > Because libtool is included in the package that you are building, you > > must ensure that the included libtool is also at a new enough version, > > most people choose to use autoreconf to do this. If your package has a > > bootstrap or autogen script then you may prefer to use that instead. > > > > Peter > > > > > > >
_______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool