[Bug bootstrap/42529] Stage 1 compiler cannot compile

davek at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Mar 25 14:54:00 GMT 2010



------- Comment #16 from davek at gcc dot gnu dot org  2010-03-25 14:53 -------
(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" :)


-- 

davek at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


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



More information about the Gcc-bugs mailing list