This is the mail archive of the
cygwin
mailing list for the Cygwin project.
standard c++ shared libs?
- From: "Kiyoshi Akima" <k_akima at hotmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 23 Jun 2005 17:36:16 -0600
- Subject: standard c++ shared libs?
- Bcc:
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/