newbie linking question

David Calkins dcalk@bellatlantic.net
Tue Jun 25 22:31:00 GMT 2002


I'm using cygwin and would like to seperately compile, then link my 
code.  What should I be using for the linker command line?  When I try to 
link I keep getting "undefined reference to __main" as well as other things 
the linker can't find.

I know this is probably a very basic question, but I can't seem to find 
good info in the documentation and/or FAQ to indicate which libraries I 
need to link a c++ application with.  I've switched over to just using a 
single step gcc command in my Makefile for now, but I'd like to seperate it 
out.




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list