On Apr 11, 2006, at 02:16, Martin Costabel wrote:

Matthew Sachs wrote:
On Apr 10, 2006, at 16:47, Martin Costabel wrote:
pws37163:~ costabel$ /usr/bin/g++-3.3 -v
gcc-3.3 and g++-3.3 on Mac OS X can generate code for PowerPC, but not for Intel. The compiler itself is a universal binary, so you have a compiler which runs as a native application on either architecture and which can produce ppc code, but not i386 code.

Thanks for the explanation. I guess I should have tried to run it and watched how it crashes: First it tries to run "cc1plus" instead of "/usr/libexec/gcc/darwin/ppc/3.3/cc1plus". This one can be fixed by adding /usr/libexec/gcc/darwin/ppc/3.3 to PATH. It then begins to run and produce ppc assembler code. Then tries to run "/usr/ libexec/gcc/darwin/i386/as -arch i386" on it which doesn't work, of course. Here I give up and conclude that this thing cannot be used even for producing ppc code, at least not out of the box and without additional explanations.

Is this with -arch ppc?  It works for me if I specify -arch ppc.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to