Trying to compile a simple C++ program
Dan Plimak
danp@systematik.co.nz
Sun Feb 11 02:08:00 GMT 2001
On Mon, Feb 12, 2001 at 10:57:17PM +1300, Dan Plimak wrote:
>
> You'll be wanting to add -lstdc++ to the command line, as in:
>
> $ gcc -lstdc++ a.exe a.cpp
>
Silly me, missed the '-o' switch. The command line should be:
$ gcc -lstdc++ -o a.exe a.cpp
Ashamedly,
-- danp
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list