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
Shayne Fletcher
Glasgow Haskell Compiler
Commits
a4b7cd97
Commit
a4b7cd97
authored
Mar 23, 2001
by
simonmar
Browse files
[project @ 2001-03-23 17:04:56 by simonmar]
can't inject the stub.h include here, it's too late.
parent
b79fd013
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/main/DriverPipeline.hs
View file @
a4b7cd97
-----------------------------------------------------------------------------
-- $Id: DriverPipeline.hs,v 1.5
7
2001/03/23 1
6:36:20
simonmar Exp $
-- $Id: DriverPipeline.hs,v 1.5
8
2001/03/23 1
7:04:56
simonmar Exp $
--
-- GHC Driver
--
...
...
@@ -1043,9 +1043,6 @@ dealWithStubs basename maybe_stub_h maybe_stub_c
Just
tmp_stub_h
->
do
runSomething
"Copy stub .h file"
(
"cp "
++
tmp_stub_h
++
' '
:
stub_h
)
-- #include <..._stub.h> in .hc file
addCmdlineHCInclude
tmp_stub_h
-- hack
-- copy the .stub_c file into the current dir, and compile it, if necessary
case
maybe_stub_c
of
...
...
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