On Thu, 2005-09-15 at 10:11 +0100, Andrew Holt wrote:
> 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.


No doubt you have consulted config.log and found nothing interesting.

I suspect you need to check your CFLAGS env variable, it may have x86
style settings that are inappropriate to ppc. 

> 
> Regards,
> Andrew
-- 
Nick Rout <[EMAIL PROTECTED]>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to