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]

Re: Cygwin gcc and g90 compilers...


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/


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