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
Model registry
Operate
Terraform modules
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
Gesh
GHC
Commits
0268d692
Commit
0268d692
authored
26 years ago
by
sof
Browse files
Options
Downloads
Patches
Plain Diff
[project @ 1999-02-23 17:20:34 by sof]
Updates on the Win32 front
parent
4a6ff5ca
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
distrib/INSTALL
+20
-37
20 additions, 37 deletions
distrib/INSTALL
with
20 additions
and
37 deletions
distrib/INSTALL
+
20
−
37
View file @
0268d692
...
@@ -26,7 +26,7 @@ template to give you a real Makefile.
...
@@ -26,7 +26,7 @@ template to give you a real Makefile.
not updating unwritable cache ./config.cache
not updating unwritable cache ./config.cache
This is a known problem of generated autoconf configure scripts running
This is a known problem of generated autoconf configure scripts running
on cygwin
32
, but harmless (it only means you get to re-do all the configure
on cygwin, but harmless (it only means you get to re-do all the configure
tests should you decide to re-run the script.)
tests should you decide to re-run the script.)
]
]
...
@@ -37,7 +37,7 @@ the details of where the different pieces of the bundle are heading when
...
@@ -37,7 +37,7 @@ the details of where the different pieces of the bundle are heading when
-- possibly helpful).
-- possibly helpful).
For more information, please consult the installation guide in
For more information, please consult the installation guide in
{html,dvi,info}/ghc-
2.10
/installing{.dvi,.info,_toc.html}.
{html,dvi,info}/ghc-
<version>
/installing{.dvi,.info,_toc.html}.
Bug reports/suggestions for improvement to the installation procedure/setup
Bug reports/suggestions for improvement to the installation procedure/setup
(as well as other GHC related troubles you're experiencing, of course),
(as well as other GHC related troubles you're experiencing, of course),
...
@@ -48,50 +48,33 @@ Enjoy.
...
@@ -48,50 +48,33 @@ Enjoy.
-------Win32 users only----------------------------------------
-------Win32 users only----------------------------------------
NOTE to Win32 users: to enjoy any sort of happiness with the GHC
NOTE to Win32 users: to enjoy any sort of happiness with the GHC
tools, you will have to install the cygwin
32
toolchain, which dresses
tools, you will have to install the cygwin toolchain, which dresses
up the Win32 environment into something more UNIX-like (which
up the Win32 environment into something more UNIX-like (which
this initial port of ghc relies on being the case). The cygwin
32
tools
this initial port of ghc relies on being the case). The cygwin tools
are available from
are available from
ftp://ftp.cygnus.com/pub/gnu-win32/latest/
http://sourceware.cygnus.com/cygwin/
(Cygnus Solutions; Mt. View, CA.)
ftp://sunsite.doc.ic.ac.uk/pub/gnu/cygnus/gnu-win32/
(Sunsite Northern Europe; Imperial College, London)
ftp://ftp.crl.go.jp/pub/GNU/cygnus/gnu-win32/
(CRL, Ministry of Posts and Telecom., Japan)
GHC was built with beta1
8
of the cygwin
32
tools and depends on
GHC was built with beta
20.
1 of the cygwin tools and depends on
it
it
to work.
to work.
The GHC tools are also quite picky about Perl, the commonly-used
Install cygwin before continuing. Couple of things to remember
Hip/ActiveWare Win32 port of perl5 just ain't Cool Enough (main reason:
doing while installing these two:
GHC scripts assume they are talking to an underlying UNIX command
shell). A basic port of perl5.004 done on top of cygwin32-b18 is
is available from
ftp://ftp.dcs.gla.ac.uk/pub/haskell/glasgow/working/perl5-004pl1.zip
this port is by no means complete, but is sufficient for our needs.
(more complete perl5 cygwin32 binary bundles are available
elsewhere - search the web if you need it.)
Install both cygwin32&perl5 before continuing. Couple of things
to remember doing while installing these two:
- Create a toplevel /bin directory, and copy bash.exe into it
- Create a toplevel /bin directory, and copy bash.exe into it
as sh.exe (we'll need this for running the configure script.)
as sh.exe (we'll need this for running the configure script.)
Add /bin to your PATH.
Add /bin to your PATH.
- Create a toplevel /tmp directory.
- Create a toplevel /tmp directory.
- If you don't have a good reason not to, it is also recommended
that you also put the perl binary inside /bin as well. Don't
Additionally, ghc requires perl to operate, so included in the
put it inside the bin/ directory inside the installed cygwin32
binary distribution is a perl binary, (perl.exe in the toplevel
tree, as this is likely to cause #! not to work on perl scripts
directory.) Install (as in copy :-) this somewhere along your
(path is likely to exceed 32 chars
.)
PATH too (/bin is a good choice
.)
NOTE: If you're planning to install ghc on a drive different from
This is hardly beatiful, but it avoids having to download and install
where you're going to compile programs, you either need to
yet another package, including piles of (useful) perl libraries that the
change the TMPDIR variable in the Makefile to "." or the
ghc perl code does not require to operate. Besides which, there's a
environment variable TMPDIR to "." when running ghc. This is clearly
dearth of readily useable perl distributions 'out there' that contain
not desirab
le
,
b
ut the only solution known to work under beta18
.
cygwin-compi
le
d
b
inaries, something we really do depend on
.
-------Win32 users only----------------------------------------
-------Win32 users only----------------------------------------
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