[Scratchbox-users] Special argument for foreign toolchain

Steve Lemke steve at lemkeville.org
Tue Jun 5 17:32:13 EEST 2007


You might try setting it in your (Scratchbox target) environment like  
this:

export SBOX_EXTRA_COMPILER_ARGS=-mcpu=...

--Steve


On Jun 5, 2007, at 7:15 AM, Claudio Scordino wrote:

> Hi all,
>
>    I'm integrating a foreign toolchain inside Scratchbox according  
> to the instructions at http://www.scratchbox.org/wiki/ 
> ForeignToolchains.
>
> My toolchain needs the special argument -mcpu=... otherwise it does  
> not compile.
>
> So, when I try to integrate the toolchain I get the error
> "error: C compiler cannot create executables"
> because I didn't specify my argument.
>
> My question is: where should I set my parameter -mcpu=... so that  
> it is automatically used during the make ?
>
> I tried exporting the CFLAGS variable, but it didn't work...
>
> Any suggestion is very welcome.



More information about the Scratchbox-users mailing list