Problem with separate compiling and linking

Mumit Khan khan@NanoTech.Wisc.EDU
Wed Jan 19 09:37:00 GMT 2000


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



More information about the Cygwin mailing list