[EXPERIMENTAL] Building Dragonegg on Cygwin

Good evening, guys!

I have built dragonegg.dll on cygwin and it works (it seems).
I have not tried stage2 build yet.

It would be applicable to also mingw32-gcc to enhance gcc/plugin.c.

...Takumi

[Instructions]

1. Apply two patches. one is for gcc/config/i386/i386.c.

--- a/gcc/configure
+++ b/gcc/configure
@@ -25621,6 +25621,9 @@ rm -f core conftest.err conftest.$ac_objext \
   fi
   LDFLAGS="$saved_LDFLAGS"

+ pluginlibs="-Wl,--export-all-symbols -Wl,--output-def,cc1.def"
+ enable_plugin=yes

dll.c (518 Bytes)

lazyimp.pl (1.67 KB)