Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [arm-gnu] Illegal Instruction


  • To: Stephen Kuo <stephenkuo@xxxxxxxxx>, arm-gnu <arm-gnu@xxxxxxxxxxxxxxxx>
  • Subject: Re: [arm-gnu] Illegal Instruction
  • From: Carlos O'Donell <carlos@xxxxxxxxxxxxxxxx>
  • Date: Tue, 02 Sep 2008 08:19:34 -0400

Stephen Kuo wrote:
arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-g++ -o test test.cpp -march=armv4t -mfloat-abi-softfp -static

Does your target have hardware floating point? The "softfp" floating point ABI means "I have floating point hardware, use it where possible, but remain compatible with other software-floating point code."

Cheers,
Carlos.
--
Carlos O'Donell
CodeSourcery
carlos@xxxxxxxxxxxxxxxx
(650) 331-3385 x716