Cross Compiler Build x86_64 Host arm1176jzf-s
Mihai Moldovan
ionic@ionic.de
Tue Feb 26 14:07:00 GMT 2013
* On 26.02.2013 05:55 AM, Thomas D. Dean wrote:
> [...]
> > arm-linux-gnueabihf-gcc-4.6 -mcpu=arm1176jzf-s hello.c -o helloc -lm
> hello.c: In function 'main':
> hello.c:9:1: sorry, unimplemented: Thumb-1 hard-float VFP ABI
>
> So, the ubuntu compiler does not like -mcpu=arm1176jzf-s.
My point was to add -mfpu=vfp -mfloat-abi=hard.
Also, according to http://www.raspberrypi.org/phpBB3/viewtopic.php?f=33&t=8758
(simple Google Search with the "unimplemented" message...) suggests to also try
-marm, so that GCC is not trying to generate Thumb code.
Best regards,
Mihai
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4506 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20130226/1c068ab2/attachment.p7s>
More information about the Gcc-help
mailing list