Mail Archives: djgpp/1999/06/16/10:00:32
Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote in article
<Pine DOT SUN DOT 3 DOT 91 DOT 990615094647 DOT 2646F-100000 AT is>...
>
> On 14 Jun 1999, 0/0 wrote:
>
> > I'm playing around with FFTs, and I notice my DFT and FFT functions
become
> > less acurate when I compile for DJGPP then they do when I compile with
> > watcom and Visual C++...
>
> Did you link with "-lm" in the end of the command line?
> Did you #include <math.h>?
>
Yes I did "#include <math.h> and No I didn't use "-lm" but when I did it
now, it had no effect.
I guess there could be something else going on, I'm going to try diffrent
optimization functions just to be on the safe side, thank you, though.....
BTW here are the comand lines I have tried....
gcc ft.cpp image.cpp main.cpp waveform.cpp -o ft.exe
gcc -O3 ft.cpp image.cpp main.cpp waveform.cpp -o ft.exe
gcc -O3 ft.cpp image.cpp main.cpp waveform.cpp -o ft.exe -lm
I'm going to see if it may be relating to something, with processor
specific settings....
- Raw text -