This is the mail archive of the cygwin@cygwin.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]
Other format: [Raw text]

RE: mno_cygwin gcc 3.2


> hi all,
>
> Under the gcc 2.95 release the :-mno_cygwin option let you
> link without
> cygwin1.dll.  The gcc 3.2 release in the latest cygwin build,
> whilst not
> complaining about the option, will link with the cygwin1.dll
> even when using
> the option.
>
> cygcheck for example will show the link.  This is for a dll
> compiled with :
>
> g++ -shared -mno_cygwin -o X.dll x.cpp
>
> Is this behaviour incorrect or is it planned that all cygwin
> gcc compiled
> apps will be forced to link with cygwin1.dll?
>
> Thanks,
>
> Chris

I seem to get the same problem compiling like this :

g++ -O2 -mno-cygwin -I.. -I. -fno-exceptions -W -c foo.cc

and then linking like this :

g++ -O2 -mno-cygwin -I.. -I. -fno-exceptions -W -o foo1.o foo2.o -o foo

So, Chris, you're not the only one. What happens exactly is that the
executable looks for cygwin1.dll and can't find it. Any idea ?

Denis.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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