This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 2004-06-24 at 22:20:35 Dave wrote: > I am using the following test file to determine if softfloat is working or > not....can anyone recommend a better test to perform without setting up the > remote testing...I will perform all the remote testing as instructed in > crosstool once I figure out this softfloat issue... > #include <stdlib.h> > int main(int argc, char *argv[]) > { > double d_foo; > d_foo = 1233433.3233993; > printf("d_foo = %lf\n",d_foo+.1); > printf("%f\n", (1.0+3.22+33+443.3345)); > } This is fine, but please make sure you've applied the glibc-vfp patch from crosstool, or you will probably only see 0.0 printed... > Kernel is a 2.4.24 running on an IXP425: > # CONFIG_FPE_NWFPE is not set > # CONFIG_FPE_FASTFPE is not set That's okay. Not only does it save memory, but it will also unmistakably point out if you have any executable or library which uses hardware FPU by accident. :)
Attachment:
pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |