No, it's not supposed to work, since runghc interprets GHC code.
runghc itself is just a little shell script which calls GHC proper
with the -f flag, so I suppose the build system was just not set
up to not create this link in that case.
Edward
Excerpts from Jeremy's message of 2015-04-06
Edward Z. Yang wrote
runghc itself is just a little shell script which calls GHC proper
with the -f flag, so I suppose the build system was just not set
up to not create this link in that case.
I have a binary called runghc under /usr/local/lib/ghc-7.10.1/bin in
addition to the shell script
It was all due to a missing -split-objs in Jeremy's 7.8 build.
I updated the user's guide. The section on -split-objs now reads, with the
part that is new in italic:
-split-objs
Tell the linker to split the single object file that would normally be
generated into multiple object files, one per
Just to check, can someone summarise the conclusion of this thread? Was it all
due to -fsplit-objs? If so, should we add some notes to the user manual to
explain what may happen if you use -fsplit-objs? What was the business about
Cabal?
Simon
| -Original Message-
| From:
I've built GHC with GhcWithInterpreter = NO. runghc is built and installed,
but errors out with not built for interactive use.
Is runghc supposed to work with such a build? If not, why is it built at
all?
--
View this message in context:
I'm deleting hpc after building ghc for a vm to save space. Is there an easy
way to skip building it in the first place?
--
View this message in context:
http://haskell.1045720.n5.nabble.com/skip-hpc-during-build-tp5768327.html
Sent from the Haskell - Glasgow-haskell-users mailing list archive