This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Too stupid to use MinGW?
- From: Sam Edge <sam_edgeZZZ at hotmail dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 10 May 2002 23:56:28 +0100
- Subject: Re: Too stupid to use MinGW?
- Organization: .
- References: <5.1.0.14.2.20020510235355.01c9db90@pop.asw.cz>
- Reply-to: cygwin at cygwin dot com
Jindrich Kubec wrote in
<5.1.0.14.2.20020510235355.01c9db90@pop.asw.cz>
in gmane.os.cygwin on Fri, 10 May 2002 23:56:21 +0200:
> I have C++ app. When I compile with -mcygwin (g++), everything is fine.
> But I can't use _tcscpy, _topen and similar TCHAR functions.
> When I use -mno-cygwin, I can't use STL, it reports missing headers. When I
> comment such part, I'm getting missing import __imp_iob.
> Is there any solution for me?
Take a look at
http://www.colomsat.net.co/freehost/ngiraldo/cppcygwin.html
for import libraries for the STL and instructions for enabling C++
MinGW STL and tchar.h support.
One point though. Instead of copying c:\cygwin\usr\include\g++-3 into
c:\cygwin\usr\include\mingw as suggested it's easier to open a bash
shell and
cd /usr/include/mingw
ln -s ../g++-3 .
instead.
--
Sam Edge
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/