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
8a79c85e
Commit
8a79c85e
authored
27 years ago
by
sof
Browse files
Options
Downloads
Patches
Plain Diff
[project @ 1997-05-18 02:04:51 by sof]
Updated for 2.03 plus added REAL_SHELL
parent
692b0c05
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mk/config.mk.in
+25
-2
25 additions, 2 deletions
mk/config.mk.in
with
25 additions
and
2 deletions
mk/config.mk.in
+
25
−
2
View file @
8a79c85e
...
...
@@ -82,9 +82,9 @@ IncludeTestDirsInBuild=NO
#
GhcProjectName =The Glorious Glasgow Haskell Compilation System
GhcProjectNameShort =ghc
GhcProjectVersion =2.0
2
GhcProjectVersion =2.0
3
GhcProjectPatchLevel =0
GhcBuildeeVersion =20
2
GhcBuildeeVersion =20
3
GhcBuilderVersion =29
#
...
...
@@ -490,6 +490,29 @@ RANLIB = @RANLIB@
RM = rm -f
SED = @SedCmd@
SHELL = /bin/sh
#
# In emergency situations, REAL_SHELL is used to perform shell commands
# from within the ghc driver script, by scribbling the command line to
# a temp file and then having $(REAL_SHELL) execute it.
#
# The reason for having to do this is that overly long command lines
# cause unnecessary trouble with some shells (e.g., /bin/sh on Solaris
# 2.5.1), which is why this backdoor is provided. The situation of overly
# long command lines is either encountered while doing `make boot' in ghc/compiler,
# or when linking the compiler binary (`hsc').
#
# We do not use SHELL to execute long commands, as `make' will more than likely
# override whatever setting you have in your environment while executing.
# By default, REAL_SHELL is set equal SHELL, which is not really a smart move
# as it SHELL that will show up the bogosity in the first place, but setting
# it to anything else isn't really portable.
#
# ====> If long command lines cause you trouble, invoke `ghc' (via `make' or otherwise)
# with REAL_SHELL set to something else than /bin/sh, for instance, your favourite
# command shell.
#
REAL_SHELL=$(SHELL)
SIZE = size
STRIP = strip
TAR = @TarCmd@
...
...
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