------- Comment #17 from mckelvey at maskull dot com  2010-03-26 16:48 -------
(In reply to comment #16)
> (In reply to comment #15)
> > (In reply to comment #14)
> 
> > > So I guess that the build and install recreates those rogue dlls.
> > > 
> > 
> > My project compiles and links, but cannot run because the DLL is missing. So
> > the DLL must be deleted to compile. but present to run.
> 
> Not quite, because as you've seen the compiler will still generate references
> to it, because the compiler is configured to use sjlj exceptions.  What you
> actually need is to add "--disable-sjlj-exceptions" to your configure line, as
> seen in the system native compiler's output; then it will neither build the 
> dll
> nor emit runtime references to it.  After that, you will get a compiler and a
> shared libgcc DLL that are both compatible with the whole rest of your cygwin
> installation, and everything will "just work" :)
> 

Yes, that did it! Thanks so much!


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42529

Reply via email to