delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/13/19:18:23

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3A108461.79B804FE@studserv.uni-stuttgart.de>
Date: Tue, 14 Nov 2000 01:16:33 +0100
From: Tilman Utz <Tilman DOT Utz AT studserv DOT uni-stuttgart DOT de>
X-Mailer: Mozilla 4.7 [de] (Win98; I)
X-Accept-Language: de
MIME-Version: 1.0
To: cygwin-Mailing <cygwin AT sourceware DOT cygnus DOT com>
Subject: included headers with mno-cygwin

Hello all,

I'm trying to compile a library for C++ with gcc with mno-cygwin option
(I already posted on that some time ago).
At the moment, I have the cygwin1.dll-version 1.1.5.
Before using the flag, I did as described in Mumits mno-cygwin howto,
installed the aditional mingw stuff and passed the right options to the
compiler and linker (at least I think, I did so...). I'm now at the
stage that the makefile (supplied with the lib) runs without
errormessages, but the 'make check' failed after a while. More detailed:
during making, some executables are generated, which are ran during make
check, and one of them (the others probably too) causes a (the
errormessage is in German, I think it's a) stack error in the module
KERNEL32.DLL at ...

What I discovered until now:
- I passed the -H option to the compiler to see what headers are
included. The output file is about 1.57 MByte large and I couldn't read
everything so far, but at a first glance, I saw the following headers
repeatedly being included:


/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-4/../../../../include/g++-3/iostream.h


/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-4/../../../../include/g++-3/streambuf.h


/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-4/../../../../include/g++-3/libio.h

..and I think they aren't mingw headers, are they? So i think they
shouldn't be included.
The following seems to me as a logical consequence of the above:

- objdump -p executable-name | grep "DLL Name" produced the following
result:
                     DLL Name: KERNEL32.dll
                     DLL Name: cygwin1.dll
                     DLL Name: crtdll.dll
      or is ist ok, that it uses cygwin _and_ crtdll?

So, what I'd like to ask: If the above headers aren't mingw, where may I
get the corresponding mingw headers? How can I make the makefile not
include cygwin headers?
What information do you still need to -maybe- help me?

kind regards
   Tilman



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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