On Tue, Dec 03, 2002 at 09:20:49AM +0100, jblazi wrote: >Can somenody tell me, how I link a C++ file with gcc? I usually take g++, but >this time I'll have to take gcc and then I have this problem. On Linux, I >specify the flag -lstdc++ but this does not work on Cygwin. > >(I must have asked this question before but I did not find the answer (though >I searched the archives.)
Your archive searching skills need a lot of work. Use g++ to link the file. That's it. Period. cgf -- 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/