delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/10/18:57:02

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
From: Sam Edge <sam_edgeZZZ AT hotmail DOT com>
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: <t4jodu0f2i9frujb0jvsambk5ns3g2d4so@4ax.com>
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
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/

- Raw text -


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