This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problem with separate compiling and linking


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]