2008/2/24 <[EMAIL PROTECTED]>: > > I'm sorry for your inconveniet experience on Mac OS X. > I have to improve the document how to build freetype2 > on Mac OS X, especially for universal binary. In the > next official release (2.3.6), FreeType2 will provide > Mac OS X specific document - please let me know your > comment on manuscript > > http://cvs.savannah.nongnu.org/viewvc/freetype2/docs/INSTALL.MAC?revision=1.6&root=freetype&view=markup
Thanks for the quick response! That seems clear to me. I managed to compile it and link it in another UB project: ./configure CFLAGS="-arch i386 -arch ppc -mmacosx-version-min=10.4" --enable-shared=no --enable-static=yes > > About the failure of configure script... I could > reproduce the error you had. The detail is written > in builds/unix/config.log, like this: > > configure:2494: gcc -O -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk > -arch i386 -arch ppc -arch i386 -arch ppc conftest.c >&5 > ld: library not found for -lcrt1.10.5.o > collect2: ld returned 1 exit status > ld: library not found for -lcrt1.10.5.o > collect2: ld returned 1 exit status > lipo: can't open input file: > /var/folders/Ve/VeDZ1VtoHruVjKZbml8ZhU+++TI/-Tmp-//cchN09ob.out (No such > file or directory) > configure:2497: $? = 1 > configure:2535: result: > configure: failed program was: > | /* confdefs.h. */ > | #define PACKAGE_NAME "FreeType" > | #define PACKAGE_TARNAME "freetype" > | #define PACKAGE_VERSION "2.3.5" > | #define PACKAGE_STRING "FreeType 2.3.5" > | #define PACKAGE_BUGREPORT "[email protected]" > | /* end confdefs.h. */ > | > | int > | main () > | { > | > | ; > | return 0; > | } > configure:2542: error: C compiler cannot create executables > > Could you find similar in your builds/unix/config.log? Yep mine looks exactly like that. > > If so, please let me know why "-isysroot ..." is required. > I guess, you're using Mac OS X 10.5, but you may want to > use Mac OS X 10.4.x-capable binary. Using -isysroot option > is popular solution? If CFLAGS has no -isysroot option, > the configuration proceeds more. I have no idea why it would be required nor if this is a popular solution to be honest. I got it from the apple docs here http://developer.apple.com/technotes/tn2005/tn2137.html I read a similar thing when I bumped into a post about building universal binary for Cairo. Thanks for the help I'm glad its finally sorted out. Cheers, Thijs
_______________________________________________ Freetype mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/freetype
