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 From: Sam Edge To: cygwin AT cygwin DOT com Subject: Re: Too stupid to use MinGW? Date: Fri, 10 May 2002 23:56:28 +0100 Organization: . Reply-To: cygwin AT cygwin DOT com Message-ID: References: <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20020510235355 DOT 01c9db90 AT pop DOT asw DOT cz> In-Reply-To: <5.1.0.14.2.20020510235355.01c9db90@pop.asw.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g4AMv0Y04176 Jindrich Kubec wrote in <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20020510235355 DOT 01c9db90 AT pop DOT asw DOT 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/