This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Linker problem.
- To: help-gcc at gnu dot org
- Subject: Linker problem.
- From: "The G" <the at g dot com>
- Date: Thu, 26 Aug 1999 16:06:24 -0700
- Newsgroups: gnu.gcc.help
- Organization: Posted via Supernews, http://www.supernews.com
- Reply-To: "The G" <the at g dot com>
- Xref: wodc7nx0 gnu.gcc.help:711
I am trying to link a C++ program that uses the stdio.h vsprintf() function.
I can compile and assemble without problems.
When I try to link I get a the following error:
project.cpp:52: undefined reference to `vsprintf'
I have also tried using the following options:
-lc -lgcc -lstdcx
to bring in libraries libc.a libgcc.a libstdcx.a
Any ideas?
--
Glenn