This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Problem with separate compiling and linking
- To: Clark Sims <clarksimsgnu at my-Deja dot com>
- Subject: Re: Problem with separate compiling and linking
- From: Mumit Khan <khan at NanoTech dot Wisc dot EDU>
- Date: Wed, 19 Jan 2000 11:37:06 -0600 (CST)
- cc: "cygwin at sourceware dot cygnus dot com" <cygwin at sourceware dot cygnus dot com>
- Reply-To: Mumit Khan <khan at NanoTech dot Wisc dot EDU>
On Wed, 19 Jan 2000, Clark Sims wrote:
> OS: NT 4.0 SP5
> Compiler: GCC 2.95, 19990728 release
> Cygnus: 21.0 (0.8/1/1)
>
> I wrote the simple program foo.cpp, with the makefile foo.mak. Under Cygnus/NT g++ -o foo foo.cpp, works fine. Under linux, make -f foo.mak, works fine. Under Cygnus/NT make -f foo.mak, produces the linker errors, listed in foo.err.
>
> What am I doing wrong here? How do I make the linker "see", the missing references?
>
The foo.err is empty in the attachment!
Please don't use compile options blindly. Take out the -p option.
Mumit
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com