Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: X-Originating-Email: [k_akima AT hotmail DOT com] X-Sender: k_akima AT hotmail DOT com From: "Kiyoshi Akima" To: cygwin AT cygwin DOT com Subject: standard c++ shared libs? Date: Thu, 23 Jun 2005 17:36:16 -0600 Mime-Version: 1.0 Content-Type: text/plain; format=flowed 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/