delorie.com/archives/browse.cgi | search |
Message-Id: | <200006091740.NAA25299@delorie.com> |
Mailing-List: | contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm |
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: | "Parker, Ron" <rdparker AT butlermfg DOT com> |
To: | cygwin-developers AT sourceware DOT cygnus DOT com, |
"Parker, Ron" | |
<rdparker AT butlermfg DOT com> | |
Cc: | cygwin-apps AT sourceware DOT cygnus DOT com |
Subject: | RE: [cet AT carlthompson DOT net: Re: Extreme newbie here...] |
Date: | Fri, 9 Jun 2000 12:38:54 -0500 |
MIME-Version: | 1.0 |
X-Mailer: | Internet Mail Service (5.5.2448.0) |
> >bash-2.04$ g++ -mno-cygwin -fno-rtti hello.cpp -o hello > >/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/libgcc.a(_eh.o): In function > >`_eh_rtime_match': > >/home/src/gcc-2.95.2/gcc/./libgcc2.c(.text+0x389): undefined > reference to > >`_impure_ptr' > >collect2: ld returned 1 exit status > > > >If your source code will compile with -fno-exceptions, it > should work in > >most cases. > > Hmm. We noticed this when building strace and Mumit > submitted a workaround > for it. If you search the cygwin-developers archive you > might find the > reason for this. I think that the gcc library is somehow > pulling in bits > of the cygwin library. Unfortunately compiling with -fno-exceptions isn't always an option and adding a dummy "int _impure_ptr;" declaration as was done in strace does not work always work. Even the simple eh_hello.cpp I wrote up will GP if you try this. I have also compiled and linked against Mumit's ming-extras package it still dies. I feel like the great white bug hunter. "Dr. Livingston, I presume?" Which brings the following sick story to mind, http://www.qnx.com/~glen/deadbeef/3821.html. It is gross and disgusting. You have been warned.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |