This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Problem when compiling
- From: "samir idrissi" <idrissisamir at hotmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 26 Feb 2002 16:56:59 +0000
- Subject: Problem when compiling
- Bcc:
#include <math.h>
...
...
...
RES= pow(X,Y);
...
...
Iget this message
/tmp/cc4REunT.o(.text+0x2ac): undefined reference to `pow'
collect2: ld returned 1 exit status
In the directory /urs/include I have the file math.h.
I have no problem when compliling with g++.
What can I do if I want to complile with gcc ?
Sincerly yours.
_________________________________________________________________
Discutez en ligne avec vos amis, essayez MSN Messenger :
http://messenger.msn.fr/