standard c++ shared libs?

Kiyoshi Akima k_akima@hotmail.com
Fri Jun 24 03:13:00 GMT 2005


When I build the hello world program in C++ with printf(), the program 
compiles and strips to 3K.
When I use cout <<, the program balloons to 270K.

Please tell me I'm just missing a switch or three to link with the 
DLL/shared version of the standard C++ library.

I'm compiling like this:
   g++ -o hello -s hello.cc

cygwin1.dll version 1.5.17
g++ version 3.4.4-1
Windows XP Home 5.1 SP2

thx



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list