Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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