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
Glasgow Haskell Compiler
GHC
Commits
30091f98
Commit
30091f98
authored
Jul 21, 2007
by
Ian Lynagh
Browse files
Hack: copy ld.exe to compiler/gcc-lib so Cabal can find it
parent
602adc29
Changes
1
Show whitespace changes
Inline
Side-by-side
Makefile
View file @
30091f98
...
...
@@ -120,6 +120,28 @@ bootstrap2 : stage1
bootstrap3
:
bootstrap2
$(MAKE)
stage3
ifeq
"$(TARGETPLATFORM)" "i386-unknown-mingw32"
ifneq
"$(WhatGccIsCalled)" ""
all
::
stamp.inplace-gcc-lib
.PHONY
:
stamp.inplace-gcc-lib
# This is a hack to make Cabal able to find ld when we run tests with
# the inplace ghc. We should probably install all the gcc stuff in our
# tree somewhere, and then have install copy it from there rather than
# from the filesystem.
stamp.inplace-gcc-lib
:
$(RM)
-r
compiler/gcc-lib
mkdir
compiler/gcc-lib
cp
$(GccDir)
ld.exe compiler/gcc-lib
touch
$@
clean
::
$(RM)
-r
compiler/gcc-lib
$(RM)
-f
inplace-gcc-lib
endif
endif
all
::
bootstrap
# -----------------------------------------------------------------------------
...
...
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