Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
a0d19e33
Commit
a0d19e33
authored
Aug 09, 2002
by
sof
Browse files
[project @ 2002-08-09 21:28:09 by sof]
Added GHC_MANGLER_DIR, GHC_SPLIT_DIR + fix .raw_s -> .s bootstrap suffix rule
parent
73a689e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
ghc/mk/paths.mk
View file @
a0d19e33
# -----------------------------------------------------------------------------
# $Id: paths.mk,v 1.4
0
2002/0
4
/0
1 13:57:10 simonpj
Exp $
# $Id: paths.mk,v 1.4
1
2002/0
8
/0
9 21:28:09 sof
Exp $
#
# ghc project specific make variables
#
...
...
@@ -34,6 +34,9 @@ GHC_UTILS_DIR = $(GHC_TOP)/$(GHC_UTILS_DIR_REL)
GHC_DRIVER_DIR
=
$(GHC_TOP)
/
$(GHC_DRIVER_DIR_REL)
GHC_PKG_DIR
=
$(GHC_TOP)
/
$(GHC_PKG_DIR_REL)
GHC_GENPRIMOP_DIR
=
$(GHC_TOP)
/
$(GHC_GENPRIMOP_DIR_REL)
GHC_MANGLER_DIR
=
$(GHC_TOP)
/
$(GHC_MANGLER_DIR_REL)
GHC_SPLIT_DIR
=
$(GHC_TOP)
/
$(GHC_SPLIT_DIR_REL)
GHC_LIB_DIR
=
$(FPTOOLS_TOP)
/libraries
...
...
mk/bootstrap.mk
View file @
a0d19e33
# -----------------------------------------------------------------------------
# $Id: bootstrap.mk,v 1.
19
2002/0
5/14 08:25:46 matthewc
Exp $
# $Id: bootstrap.mk,v 1.
20
2002/0
8/09 21:28:10 sof
Exp $
#
# Makefile rules for booting from .hc files without a driver.
#
...
...
@@ -149,7 +149,7 @@ else
$(CC)
-x
c
$<
-o
$@
-S
-O
$(HC_BOOT_CC_OPTS)
-I
.
`
echo
$(
patsubst
-monly-
%-regs,
-DSTOLEN_X86_REGS
=
%,
$(
filter
-monly-
%-regs,
$
(
$*
_HC_OPTS
)))
|
sed
's/^$$/-DSTOLEN_X86_REGS=4/'
`
%.s
:
%.raw_s
$(FPTOOLS_TOP)
/
$(GHC_MANGLER_DIR)
/
$(GHC_MANGLER)
$<
$@
$(
patsubst
-monly-
%-regs, %,
$(
filter
-monly-
%-regs,
$
(
$*
_HC_OPTS
)))
$(GHC_MANGLER)
$<
$@
$(
patsubst
-monly-
%-regs, %,
$(
filter
-monly-
%-regs,
$
(
$*
_HC_OPTS
)))
%.o
:
%.s
$(CC)
-c
-o
$@
$<
...
...
Write
Preview
Supports
Markdown
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