This is the mail archive of the cygwin 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]
Other format: [Raw text]

standard c++ shared libs?


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/


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