delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/24/04:59:13

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <brian AT dessent DOT net>
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>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019