www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/07/19/11:21:16

Date: Wed, 19 Jul 1995 10:18:34 +0200 (MET DST)
From: Christoph Kukulies <kuku AT gilberto DOT physik DOT rwth-aachen DOT de>
Subject: Re: unresolved `pow' and `sqrt'
To: giorgio AT mac7100 DOT tau DOT it
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Reply-To: Christoph Kukulies <kuku AT gilberto DOT physik DOT rwth-aachen DOT de>

> 
> 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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019