This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

-mno-cygwin still links in cygwin1.dll


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]