Cross-compile for AM335x
Matt Johnston
matt at ucc.asn.au
Thu Jun 26 23:17:47 WST 2014
Hi,
Sounds like something is wrong with the compiler. Take a
look at config.log, towards the bottom it'll have the
commandline and code that failed. Do you mean to set
--target=arm perhaps?
Cheers,
Matt
On Thu, Jun 26, 2014 at 10:53:38AM -0400, Nicolas Luna wrote:
> Hi,
>
> I'm trying to cross-compile for ARM Cortex-A8 (AM335x) and I have a weird
> error. It looks like the toolchain is not supported.
>
> What I executed:
> *./configure --prefix=/home/build-tools/dropbear-build/
> CC=arm-linux-gnueabihf-gcc --host=arm -disable-zlib*
>
> What I received from configure script:
> *checking for arm-gcc... arm-linux-gcc*
> *checking whether the C compiler works... no*
>
> *configure: error: C compiler cannot create executables*
>
> The version of my toolchain (PSP 6.0 from TI)
> *#: arm-linux-gnueabihf-gcc -v*
> *gcc version 4.7.3 20130226 (prerelease) (crosstool-NG
> linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03)*
>
> Any ideas ?
>
> Regards,
>
> Nicolas
More information about the Dropbear
mailing list