Mail Archives: djgpp/1995/07/19/11:21:16
>
> I am really a newbie both for djgpp and for C!
> I have written a simple calculator program that was compiled both with PCC
> and with VAX C. Now I recently got djgpp and tried to gcc it, but I get
> "unresolved" messages for both pow and sqrt. I looked in math.h and
> these functions are defined! I tried also to compile with the -o in order
> to get a .o file to be linked with something other, but this option seems
> not to be accepted ( -o file not found). So until now I could get only a
> calculator without square root and rise to power. What`s wrong?
> In my installation, all tests are OK but the T05.
> Which files are concerning it ? Thanks - Giorgio
>
>
gcc -o file file1.o file2.o -lm -lc
aout2exe file
--Chris Christoph P. U. Kukulies kuku AT gil DOT physik DOT rwth-aachen DOT de
FreeBSD blues.physik.rwth-aachen.de 2.0-BUILT-19950701 FreeBSD 2.0-BUILT-
- Raw text -