delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-developers-unsubscribe-archive-cygwin-developers=delorie DOT com AT sourceware DOT cygnus DOT com> |
List-Subscribe: | <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin-developers/> |
List-Post: | <mailto:cygwin-developers AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-developers-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin-developers AT sourceware DOT cygnus DOT com |
From: | Chris Faylor <cgf AT cygnus DOT com> |
Date: | Thu, 30 Sep 1999 18:07:11 -0400 |
To: | "Harold G. Andrews II" <handrews AT draper DOT com> |
Cc: | Cygwin-Developers <cygwin-developers AT sourceware DOT cygnus DOT com> |
Subject: | Re: Another STL Compilation question |
Message-ID: | <19990930180711.B10923@cygnus.com> |
Mail-Followup-To: | "Harold G. Andrews II" <handrews AT draper DOT com>, |
Cygwin-Developers <cygwin-developers AT sourceware DOT cygnus DOT com> | |
References: | <000001bf0b87$08ea0c30$9952668c AT draper DOT com> |
Mime-Version: | 1.0 |
X-Mailer: | Mutt 0.95.6i |
In-Reply-To: | <000001bf0b87$08ea0c30$9952668c@draper.com>; from Harold G. Andrews II on Thu, Sep 30, 1999 at 05:01:58PM -0400 |
This is not an appropriate question for cygwin-developers. This mailing list is intended for people who are interested in contributing to the Cygwin DLL. Please use the general cygwin list for gcc compilation/build errors. Or, in this case, search the archives for your answer as this question has been asked about 157 already. -chris On Thu, Sep 30, 1999 at 05:01:58PM -0400, Harold G. Andrews II wrote: >Hello all, > >I try compiling the following program (which is using STL) in B20, under >WinNT (SP5) by using gcc version 2.95: > >================================== > >// stl_test.cc > >#include <vector> > >#ifdef WIN32 > #pragma warning(disable:4786) > using namespace std; >#endif > >void main(void) >{ > vector<double> t1(3); >} > >================================== > >and it generates the following error message during compilation: > >================================== > >/Program >Files/cygnus/cygwin-b20/H-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.9 >5/libstdc++.a(iostream.o)(.text+0x114): undefined reference to >`_imp___ctype_' >/Program >Files/cygnus/cygwin-b20/H-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.9 >5/libstdc++.a(iostream.o)(.text+0x4d1): undefined reference to >`_imp___ctype_' >/Program >Files/cygnus/cygwin-b20/H-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.9 >5/libstdc++.a(iovfscanf.o)(.text+0x60): undefined reference to >`_imp___ctype_' >/Program >Files/cygnus/cygwin-b20/H-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.9 >5/libstdc++.a(iovfscanf.o)(.text+0x8d): undefined reference to >`_imp___ctype_' >/Program >Files/cygnus/cygwin-b20/H-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.9 >5/libstdc++.a(iovfscanf.o)(.text+0x588): undefined reference to >`_imp___ctype_' >/Program >Files/cygnus/cygwin-b20/H-i586-cygwin32/bin/../lib/gcc-lib/i586-cygwin32/2.9 >5/libstdc++.a(iovfscanf.o)(.text+0x5dc): more undefined references to >`_imp___ctype_' follow >collect2: ld returned 1 exit status > >================================== > >It compiles fine under in MSVC 6.0 and Linux (Mandrake release 6 on kernel >2.2.9-27mdk) using pgcc-2.91.66. Any insights?
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |