This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
problem with linking
- To: gcc-help at gcc dot gnu dot org
- Subject: problem with linking
- From: Preeti Gopalan <preeti at wcl5 dot tamu dot edu>
- Date: Fri, 17 Aug 2001 17:59:16 -0500 (CDT)
- Reply-To: Preeti Gopalan <preeti at wcl5 dot tamu dot edu>
Hi
This is a bit basic.
I am trying to use a Math.h function
So I compile my program as gcc fname.c -lm -time
Is the -ltime part right ?
If not , How do I do it?
It says undefined reference to function
Thanks a lot
- Preeti
@@@
@^ ^@
@ O O @
@\ V /@
@@ @@
------------------------------------------------------------------------
Luck favours the prepared mind.
- Louis Pasteur
------------- End Forwarded Message -------------
- Preeti
@@@
@^ ^@
@ O O @
@\ V /@
@@ @@
------------------------------------------------------------------------
Luck favours the prepared mind.
- Louis Pasteur