Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tobias Decking
GHC
Commits
cd891a8e
Commit
cd891a8e
authored
Feb 17, 2003
by
simonpj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[project @ 2003-02-17 15:14:25 by simonpj]
More notes about building on Win32
parent
3164c9c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
5 deletions
+14
-5
docs/building/building.sgml
docs/building/building.sgml
+14
-5
No files found.
docs/building/building.sgml
View file @
cd891a8e
...
...
@@ -4366,13 +4366,22 @@ can be really confusing.
<
filename
>
fptools
/</
filename
>
thus
:
<
Screen
>
./
configure
--
host
=
i386
-
unknown
-
mingw32
--
with
-
gcc
=/
mingw
/
bin
/
gcc
./
configure
--
host
=
i386
-
unknown
-
mingw32
--
with
-
gcc
=
c
:
/
mingw
/
bin
/
gcc
</
Screen
>
This
is
the
point
at
which
you
specify
that
you
are
building
GHC
-
mingw
(
see
<
xref
linkend
=
"ghc-mingw"
>).
Both
these
options
are
important
! It's possible to get into
trouble
using
the
wrong
C
compiler
!</para>
(
see
<
xref
linkend
=
"ghc-mingw"
>).
</
para
>
<
para
>
Both
these
options
are
important
! It's possible to get into
trouble
using
the
wrong
C
compiler
!
Furthermore
,
it
's very important that you specify a
full mingw path for <command>gcc</command>, not a cygwin path, because GHC (which
uses this path to invoke <command>gcc</command>) is a Mingw program and won'
t
understand
a
cygwin
path
..
For
example
,
if
you
say
<
literal
>--
with
-
gcc
=/
mingw
/
bin
/
gcc
</
literal
>,
it
'll be interpreted as
<filename>/cygdrive/c/mingw/bin/gcc</filename>, and GHC will fail the first
time it tries to invoke it. (Worse, the failure does not come with
a helpful error message, unfortunately.)
</para>
<para>
If you want to build GHC-cygwin (<xref linkend="ghc-cygwin">)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment