Skip to content
Snippets Groups Projects
Commit 2ff20552 authored by Julian Seward's avatar Julian Seward
Browse files

[project @ 2000-05-26 12:08:30 by sewardj]

Update the destructions for building Hugs on Win32, for mingw32.
parent 6d7dde8e
No related merge requests found
These insns are for building Hugs on mingw32. We don't want no
cygwin no more :)
You need to have a fptools/mk/build.mk which looks like this in
order to build Hugs which has a hope of working in combined mode.
......@@ -8,3 +11,29 @@ GhcHcOpts=-DDEBUG -fasm-x86 # -fasm-x86 is optional
GhcRtsHcOpts=-optc-DDEBUG -optc-D__HUGS__ -unreg -optc-g
GhcRtsCcOpts=-optc-DDEBUG -optc-g -optc-D__HUGS__
SplitObjs=NO # essential
Then you need to configure like this:
./configure --host=i386-unknown-mingw32 --enable-win32-dlls
Then
make boot
Then
cd ghc/rts/gmp/mpn/generic
for f in *.c *.h ; do echo $f ; rm -f ../$f ; cp $f ../$f ; done
# because mingw32 doesn't understand the symlinks that GMP makes
# during make boot
cd ../../..
make
cd ../utils
make boot
make
cd ../interpreter
make
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment