dsl-corax:~ pauldavidson$ lipo -info /Users/pauldavidson/dev/cape96/
libmysqlclient.a
input file /Users/pauldavidson/dev/cape96/libmysqlclient.a is not a
fat file
Non-fat file: /Users/pauldavidson/dev/cape96/libmysqlclient.a is
architecture: x86_64
Noted that Xcode is set for 32 bit universal output. Tried setting it
to 10.6 / 64 bit output but:
can't build libfpc.a for x86_64 (ppcx64 not found)
mv: rename /Users/pauldavidson/dev/cape96/build/cape96.build/Debug/
fpc.build/libfpc.a to /Users/pauldavidson/dev/cape96/build/Debug/
libfpc.a: No such file or directory
Thank you
Off topic: Friend of mine :)
http://wheresthefilm.com/Insects/Beetles/slides/StackBeetle02.html
It means that the library contains code for different architectures
than the one you are compiling for (e.g., you are compiling for i386
and the library only contains PowerPC or x86_64 object files). That
would indeed explain the problem.
You can run
lipo -info /Users/pauldavidson/dev/cape96/libmysqlclient.a
to see for which architectures the library contains code.
Jonas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal