Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Glasgow Haskell Compiler
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
Shayne Fletcher
Glasgow Haskell Compiler
Commits
58246470
Commit
58246470
authored
Sep 09, 2002
by
simonmar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[project @ 2002-09-09 11:44:13 by simonmar]
Build without hslibs on GHC >= 5.04
parent
394d3083
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
ghc/utils/genprimopcode/Main.hs
ghc/utils/genprimopcode/Main.hs
+6
-1
ghc/utils/genprimopcode/Makefile
ghc/utils/genprimopcode/Makefile
+7
-2
No files found.
ghc/utils/genprimopcode/Main.hs
View file @
58246470
{-# OPTIONS -cpp #-}
------------------------------------------------------------------
-- A primop-table mangling program --
------------------------------------------------------------------
module
Main
where
#
if
__GLASGOW_HASKELL__
>=
504
import
Text.ParserCombinators.Parsec
#
else
import
Parsec
#
endif
import
Monad
import
Char
import
List
...
...
ghc/utils/genprimopcode/Makefile
View file @
58246470
# -----------------------------------------------------------------------------
# $Id: Makefile,v 1.
7 2001/08/08 13:21:04 qrczak
Exp $
# $Id: Makefile,v 1.
8 2002/09/09 11:44:13 simonmar
Exp $
TOP
=
../..
include
$(TOP)/mk/boilerplate.mk
HS_PROG
=
genprimopcode
SRC_HC_OPTS
+=
-syslib
text
ghc_ge_504
=
$(
shell
if
(
test
$(GhcCanonVersion)
-ge
504
)
;
then
echo
YES
;
else
echo
NO
;
fi
)
ifeq
"$(ghc_ge_504)" "NO"
SRC_HC_OPTS
+=
-package
text
endif
# genprimopcode is needed to boot in ghc/compiler...
ifneq
"$(BootingFromHc)" "YES"
...
...
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