Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
dae341f5
Commit
dae341f5
authored
Jan 27, 2005
by
simonmar
Browse files
[project @ 2005-01-27 11:55:37 by simonmar]
Include package Cabal when linking
parent
56f5bc18
Changes
1
Hide whitespace changes
Inline
Side-by-side
mk/bootstrap.mk
View file @
dae341f5
# -----------------------------------------------------------------------------
# $Id: bootstrap.mk,v 1.3
1
200
4/10/07 03:19:51 dons
Exp $
# $Id: bootstrap.mk,v 1.3
2
200
5/01/27 11:55:37 simonmar
Exp $
#
# Makefile rules for booting from .hc files without a driver.
#
...
...
@@ -101,6 +101,7 @@ HC_BOOT_LD_OPTS += \
-L
$(FPTOOLS_TOP_ABS)
/libraries/template-haskell
\
-L
$(FPTOOLS_TOP_ABS)
/libraries/readline
\
-L
$(FPTOOLS_TOP_ABS)
/libraries/parsec
\
-L
$(FPTOOLS_TOP_ABS)
/libraries/Cabal
\
-L
$(FPTOOLS_TOP_ABS)
/libraries/unix
\
-L
$(FPTOOLS_TOP_ABS)
/libraries/unix/cbits
endif
...
...
@@ -145,7 +146,7 @@ ifeq "$(GhcWithInterpreter)" "YES"
HC_BOOT_LIBS
+=
-lHSreadline
-lHStemplate-haskell
-lHSunix
-lHSunix_cbits
endif
HC_BOOT_LIBS
+=
-lHShaskell98
-lHSbase
-lHSbase_cbits
-lHSparsec
-lHSrts
-lgmp
-lm
$(EXTRA_HC_BOOT_LIBS)
HC_BOOT_LIBS
+=
-lHSCabal
-lHShaskell98
-lHSbase
-lHSbase_cbits
-lHSparsec
-lHSrts
-lgmp
-lm
$(EXTRA_HC_BOOT_LIBS)
ifeq
"$(GhcLibsWithReadline)" "YES"
HC_BOOT_LIBS
+=
$(
patsubst
%,
-l
%,
$(LibsReadline)
)
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment