delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/02/10:12:09

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
Date: Fri, 2 Feb 2001 16:10:29 +0100
From: bert AT mail DOT svi DOT nl
To: cygwin AT cygwin DOT com
Subject: -mno-cygwin still links in cygwin1.dll
Message-ID: <20010202161029.A1900@mail.svi.nl>
Reply-To: bert AT mail DOT svi DOT nl
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i

Today I upgraded all my cygwin packages to the latest
cygwin 1.1.8 from 1.1.7 in an attempt to overcome some
problems I have with compiling with -mno-cygwin.  No luck yet.
I'm trying to compile some C programs from the fftw library.
Everything compiles and links with "gcc -mno-cygwin" after
CC="gcc -mno-cygwin" ./configure --bla-bla.
The programs even link, but when I try to run them they
just hang.  Running cygcheck on them reveals that they still
have cygwin1.dll linked in:

        Found: .\test_rfftw.exe
        .\test_rfftw.exe - os=4.0 img=1.0 sys=4.0
          C:\WINDOWS\SYSTEM\KERNEL32.dll - os=4.0 img=1.9 sys=4.0
            "KERNEL32.dll" v0.0 ts=1998/4/29 4:25
          C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
            "cygwin1.dll" v0.0 ts=2001/1/31 15:08
            C:\WINDOWS\SYSTEM\KERNEL32.dll (already done)
          C:\WINDOWS\SYSTEM\msvcrt.dll - os=4.0 img=0.0 sys=4.0
            "MSVCRT.dll" v0.0 ts=1997/5/9 23:03
            C:\WINDOWS\SYSTEM\KERNEL32.dll (already done)

And that was just what I was trying to avoid.
I can link and run a simple hello world program just fine.
But bigger programs all seem to link with cygwin1.dll 
despite using -mno-cygwin.  How do I fix this?
I read the FAQs and have the mingw and w32api packages
installed too.

bert at mail dot svi dot nl

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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