Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alexbiehl-gc
GHC
Commits
2ff20552
Commit
2ff20552
authored
24 years ago
by
Julian Seward
Browse files
Options
Downloads
Patches
Plain Diff
[project @ 2000-05-26 12:08:30 by sewardj]
Update the destructions for building Hugs on Win32, for mingw32.
parent
6d7dde8e
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ghc/interpreter/README.BUILDING.HUGS
+29
-0
29 additions, 0 deletions
ghc/interpreter/README.BUILDING.HUGS
with
29 additions
and
0 deletions
ghc/interpreter/README.BUILDING.HUGS
+
29
−
0
View file @
2ff20552
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment