i can't use math func log()
Dave Korn
dave.korn@artimi.com
Thu Nov 30 15:45:00 GMT 2006
On 30 November 2006 07:56, yan xiaotian wrote:
> about 1): s3c2410 doesn't have fpu
> about 2): how to know the configuration for floating point?
>
> thanx~!
>
> best
> Alex Y
Heh, calm down! Once is enough!
The way to find out the configuration is any of:
1) Use "objdump" with the '-d' flag and look at the compiled code to see if
FPU instructions are used.
2) Add the "--save-temps" flag to gcc when compiling and look at the .S file
generated to see if it has FPU instructions.
3) Run "gcc -v" to see the options with which gcc was configured.
If it does turn out to be making floating point instructions, you can try
using the "-msoft-float" flag.
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list