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
20b21f5b
Commit
20b21f5b
authored
Jan 14, 2005
by
simonmar
Browse files
[project @ 2005-01-14 11:34:44 by simonmar]
retire $(compiling_with_4xx): we don't support compiling with 4.x any more
parent
4f457f34
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/Makefile
View file @
20b21f5b
...
...
@@ -261,14 +261,11 @@ endif
ifeq
"$(BootingFromHc)" "YES"
# HC files are always from a self-booted compiler
bootstrapped
=
YES
compiling_with_4xx
=
NO
else
ifneq
"$(findstring $(stage), 2 3)" ""
bootstrapped
=
YES
compiling_with_4xx
=
NO
else
bootstrapped
=
$(
shell
if
(
test
$(GhcCanonVersion)
-ge
$(ProjectVersionInt)
-a
$(GhcPatchLevel)
-ge
$(ProjectPatchLevel)
)
;
then
echo
YES
;
else
echo
NO
;
fi
)
compiling_with_4xx
=
$(
shell
if
(
test
$(GhcCanonVersion)
-lt
500
)
;
then
echo
YES
;
else
echo
NO
;
fi
)
endif
endif
...
...
@@ -406,11 +403,6 @@ ifeq "$(bootstrapped)" "YES"
utils/
Binary_HC_OPTS
=
-funbox-strict-fields
endif
# 4.08.2's NCG can't cope with Binary
ifeq
"$(compiling_with_4xx)" "YES"
utils/
Binary_HC_OPTS
+=
-fvia-C
endif
# ByteCodeItbls uses primops that the NCG doesn't support yet.
ghci/
ByteCodeItbls_HC_OPTS
+=
-fvia-C
ghci/
ByteCodeLink_HC_OPTS
+=
-fvia-C
-monly-3-regs
...
...
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