-mno-cygwin still links in cygwin1.dll
bert@mail.svi.nl
bert@mail.svi.nl
Fri Feb 2 07:09:00 GMT 2001
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
More information about the Cygwin
mailing list