This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cross Compiler Build x86_64 Host arm1176jzf-s


* 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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]