Matthew Sachs wrote:
On Apr 11, 2006, at 02:16, Martin Costabel wrote:
[]
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.

OK, it goes a little further and fails with

ld: Undefined symbols:
__ZNSt8ios_base4InitC1Ev
__ZNSt8ios_base4InitD1Ev
__ZSt4cout
__ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
___gxx_personality_v0

I assume this can be overcome, too, by teaching it how to find its libraries. That's what I meant by "additional explanations", I guess.

--
Martin



-------------------------------------------------------
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