
Hello Albert,
On 09-09-14 21:59, Albert ARIBAUD wrote:
Hi Jeroen,
On Tue, 09 Sep 2014 19:34:44 +0200, Jeroen Hofstee jeroen@myspectrum.nl wrote:
I've tried building rpi_b as per the README, but I keep getting
/usr/bin/as: unrecognized option '-mfloat-abi=soft' clang: error: assembler command failed with exit code 1 (use -v to see invocation)
Shouldn't rpi_b build properly since it is the one given as an example for Debian-based building?
ok, this turns out to be a simple issue. The gas for arm is not found since CROSS_COMPILE has a trailing dash. When it is removed the correct as is picked up (and libs is found automagically as well). Both the 3.4 and 3.5 binary packages from Ubuntu are able to compile u-boot with this change, so the README should be updated.
Regards, Jeroen
This should work: make HOSTCC=clang CC="clang -target arm-linux-gnueabi -mllvm -arm-use-movt=0 -no-integrated-as" V=1 all