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: <430C3783.23C3BB51@dessent.net> Date: Wed, 24 Aug 2005 02:01:55 -0700 From: Brian Dessent MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Cygwin gcc and g90 compilers... References: <81E351B0A0921C4DB6A3A1EF352726A76AC2C2 AT server DOT eegsa DOT corp> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Juan Carlos Morataya wrote: > I think that I need to Building a native STLport with Cygwin gcc in my installed system by the mean of > > make -fgcc-mingw.mak "CXXFLAGS_COMMON=-mno-cygwin -I/usr/include/mingw" > > is that correct? There is no need to build STLport, since gcc comes with a fully functioning libstdc++. Even if you had a need for this, the above is compiling in mingw mode (-mno-cygwin means "no cygwin") and is off topic for this list - there is a mingw mailing list elsewhere. > > gcc program_name.cpp -o program_name.exe) but this doesn't works, it To compile C++ code you must invoke gcc as g++, otherwise it will not include the libraries necessary for C++ code. You might want to consult the GCC manual. Brian -- 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/