www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/06/25/12:41:10

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Reply-To: <boleng AT rmi DOT net>
From: "Jeff Boleng" <boleng AT rmi DOT net>
To: <cygwin AT sourceware DOT cygnus DOT com>
Subject: undefined references when compiling with -mno-cygwin
Date: Fri, 25 Jun 1999 10:36:36 -0600
Message-ID: <000401bebf28$e429bc10$2105e3cc@sharedearth.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300

------=_NextPart_000_0005_01BEBEF6.998F4C10
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

undefined references when compiling with -mno-cygwinI am compiling a
medium/large sized c++ program using the -mno-cygwin linker option.  During
link I get a lot of undefined symbol references in libstdc++.a from
iostream.o, streambuf.o, fileops.o, stdiostream.o, floatconv.o, and
iovscanf.o.  The references are to __errno, _ctype_, and _impure_ptr.  I'm
using the stl pretty heavily, but I'm not using any of cygwin's Unix API.
Seems like it should work.

Similar errors in the math library (libm.a).

I'm wondering if the lib*.a files (especially libstdc++ and the stl headers)
included with the cygwin release (version 2.02.1(2)-release
(i586-pc-cygwin32)) I'm using do make use of some portions of the API that
are Unix specific and I therefore won't be able to compile without linking
to cygwin.dll.

I didn't find anything in the FAQ or archives, so if anyone can help please
let me know.

Thanks,

Jeff Boleng
boleng AT rmi DOT net




------=_NextPart_000_0005_01BEBEF6.998F4C10
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<TITLE>undefined references when compiling with -mno-cygwin</TITLE>

<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR></HEAD>
<BODY>
<P><FONT size=3D2>I am compiling a medium/large sized c++ program using =
the=20
-mno-cygwin linker option.&nbsp; During link I get a lot of undefined =
symbol=20
references in libstdc++.a from iostream.o, streambuf.o, fileops.o,=20
stdiostream.o, floatconv.o, and iovscanf.o.&nbsp; The references are to =
__errno,=20
_ctype_, and _impure_ptr.&nbsp; I'm using the stl pretty heavily, but =
I'm not=20
using any of cygwin's Unix API.&nbsp; Seems like it should =
work.</FONT></P>
<P><FONT size=3D2>Similar errors in the math library (libm.a).</FONT> =
</P>
<P><FONT size=3D2>I'm wondering if the lib*.a files (especially =
libstdc++ and the=20
stl headers) included with the cygwin release (version 2.02.1(2)-release =

(i586-pc-cygwin32)) I'm using do make use of some portions of the API =
that are=20
Unix specific and I therefore won't be able to compile without linking =
to=20
cygwin.dll.</FONT></P>
<P><FONT size=3D2>I didn't find anything in the FAQ or archives, so if =
anyone can=20
help please let me know.</FONT> </P>
<P><FONT size=3D2>Thanks,</FONT> </P>
<P><FONT size=3D2>Jeff Boleng</FONT> <BR><FONT size=3D2><A=20
href=3D"mailto:boleng AT rmi DOT net">boleng AT rmi DOT net</A></FONT></P>
<P>&nbsp;</P></BODY></HTML>

------=_NextPart_000_0005_01BEBEF6.998F4C10--

- Raw text -


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