Skip to content

Instantly share code, notes, and snippets.

@Madsy
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Madsy/9312506 to your computer and use it in GitHub Desktop.
Save Madsy/9312506 to your computer and use it in GitHub Desktop.
#gc-7.2e
export CFLAGS="-I/home/madsy/mingw/include -DGC_NOT_DLL"
export LDFLAGS="-L/home/madsy/mingw/lib"
PKG_CONFIG_PATH="/home/madsy/mingw/lib/pkgconfig"
./configure --host=i686-w64-mingw32 --enable-threads=posix --enable-parallel-mark --enable-gc-debug \
--enable-shared=no --enable-static=yes --prefix=/home/madsy/mingw
make && make install
export CFLAGS="-DGC_NOT_DLL -O3 -Os -I/home/madsy/mingw/include"
export LDFLAGS="-L/home/madsy/mingw/lib"
export PKG_CONFIG_PATH="/home/madsy/mingw/lib/pkgconfig"
./configure --host=i686-w64-mingw32 --enable-threads=posix --with-threads --disable-rpath \
--enable-shared=no --enable-static=yes --prefix=/home/madsy/mingw \
--with-sysroot=/home/madsy/mingw --without-libpth-prefix --enable-debug-malloc \
--enable-guile-debug --with-threads
make && make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment