Hi,
See below ....
On 15 Sep 2005, at 09:47, Anton Ertl wrote:
Andrew Holt wrote:
Hi,
Has anybody managed to cross compile gforth ?
My host is RH 8.0 my target is an embedded PowerPC system running
MontaVista Linux.
I have tried running configure but the closest I get is when it
complains that the C compiler cannot create executables.
Have you read the section in the INSTALL file about
cross-configuration. I think we listed all the stuff there that you
have to specify explicitly, but if we missed anything, and configure
complains about not being able to run the executables, tell us about
it so that we can update the list.
The example you give is for a 386 target. I presume that I have to
specify CC=<compiler> to configure, and --target ?
If I simply follow the instructions I end up with a 386 executable.
If I add CC=/opt/hardhat/devkit/ppc/8xx/bin/ppc-8xx-gcc then I get:
./build-ppc
checking for gcc... /opt/hardhat/devkit/ppc/8xx/bin/ppc-8xx-gcc
checking for C compiler default output... configure: error: C
compiler cannot create executables
See `config.log' for more details.
Regards,
Andrew
Once configuration is complete, you just have to "make" it.
- anton
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]