Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gesh
GHC
Commits
4f03d300
Commit
4f03d300
authored
27 years ago
by
sof
Browse files
Options
Downloads
Patches
Plain Diff
[project @ 1997-07-04 01:19:20 by sof]
Don't generate .hi's from .hi-boot's any longer
parent
2de68344
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ghc/compiler/Makefile
+7
-27
7 additions, 27 deletions
ghc/compiler/Makefile
with
7 additions
and
27 deletions
ghc/compiler/Makefile
+
7
−
27
View file @
4f03d300
...
...
@@ -73,9 +73,7 @@ HCS = $(patsubst %.lhs, %.hc, $(patsubst %.hs, %.hc, $(HS_SRCS)))
# the suffix .hs, since they're special and don't fall under the umbrella of $(HS_SRCS)
# always (only when $(Ghc2_0) is equal to YES)
ifeq
"$(Ghc2_0)" "YES"
#OLD:LOOPS_HS = $(wildcard */*Loop*.hs)
MKDEPENDHS_SRCS
=
$(
HS_SRCS
)
#HS_SRCS += $(LOOPS_HS)
else
LOOPS
=
$(
patsubst %.lhi, %.hi,
$(
wildcard
*
/
*
.lhi
))
endif
...
...
@@ -131,9 +129,6 @@ SRC_CC_OPTS += -Iparser -I. -I$(TOP)/includes -O
ifeq
"$(Ghc2_0)" "NO"
SRC_HC_OPTS
+=
-fomit-derived-read
-fomit-reexported-instances
else
# Recompilation checking - unconditionally so (ToDo: move to mk/config.mk.in)
SRC_HC_OPTS
+=
-recomp
endif
ifeq
($(GhcWithDeforester),NO)
...
...
@@ -273,42 +268,27 @@ CLEAN_FILES += hsp
#
# Building the loop breakers from .lhi (0.2x) or .hi-boot (2.xx) files
#
ifeq
($(Ghc2_0),YES)
BOOT_HI_STEMS
=
$(
basename
$(
wildcard
*
/
*
.hi-boot
))
hi-boot
::
@
for
n
in
$(
BOOT_HI_STEMS
);
\
do
\
echo
Creating
$$
n.hi
;
\
$(
RM
)
$$
n.hi
;
\
$(
CP
)
$$
n.hi-boot
$$
n.hi
||
(
$(
RM
)
$$
n.hi
&&
exit
1
)
;
\
done
#
# Have the collector *Loop.hs interface files be generated just after having
# created the .hi's from the .hi-boot's.
else
ifeq
"$(Ghc2_0)" "NO"
hi-boot
::
$(LOOPS)
%.hi
:
%.lhi
$(
RM
)
$@
$(
UNLIT
)
$<
$@
||
(
$(
RM
)
$@
&&
exit
1
)
@
chmod
444
$@
endif
boot
::
hi-boot
else
# hi-boot not needed when using 2.04+ as HC, defining it here
# to be consistent across setting of Ghc2_0
hi-boot
:
@
echo
"Done."
endif
#-----------------------------------------------------------------------------
# Linking
SRC_LD_OPTS
+=
-no-link-chk
# Build-specific
#SRC_LD_OPTS += "-pgml time gcc -B/projects/unsupported/gnu/sparc-sunos5/bin/g"
#-----------------------------------------------------------------------------
# install
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment