[kaffe] building for powerpc
Jim Pick
jim at kaffe.org
Wed Jul 10 08:36:16 PDT 2002
On Tue, 2002-07-09 at 12:40, Mathieu Dube wrote:
> Ok,
> having read the mail from Mark and Janice Juszczec. I tried this:
> CC=/usr/local/bin/powerpc-snmc-linux-gnu-gcc
> AS=/usr/local/bin/powerpc-snmc-linux-gnu-as
> LD=/usr/local/bin/powerpc-snmc-linux-gnu-gcc
> ./configure --target=powerpc-linux
> --with-includes=/usr/local/powerpc-snmc-linux-gnu/include/
> --with-libraries=/usr/local/powerpc-snmc-linux-gnu/lib/ --with-engine=jit3
>
> but I get this error:
> configure: error: installation or configuration problem: C compiler cannot
> create executables.
>
> its weird coz I compiled some test programs that came with those
> cross-compiling tools so Im wondering what Im doing wrong...
The configure script tried to compile a trivial program to see if your
cross-compile works, and it failed. Take a look at the generated
config.log file - that should show you what it tried to compile, and the
error message.
Cheers,
- Jim
More information about the kaffe
mailing list