Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
6e86ac1f
Commit
6e86ac1f
authored
Aug 03, 2011
by
daniel.is.fischer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dot-ghci needs to be ignored.
parent
42b2df85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
testsuite/tests/ghci/linking/Makefile
testsuite/tests/ghci/linking/Makefile
+6
-6
No files found.
testsuite/tests/ghci/linking/Makefile
View file @
6e86ac1f
...
...
@@ -13,7 +13,7 @@ ghcilink001 :
mkdir
dir001
"
$(TEST_HC)
"
-c
f.c
-o
dir001/foo.o
ar cqs dir001/libfoo.a dir001/foo.o
echo
"test"
|
"
$(TEST_HC)
"
--interactive
-v0
-Ldir001
-lfoo
TestLink.hs
echo
"test"
|
"
$(TEST_HC)
"
--interactive
-ignore-dot-ghci
-v0
-Ldir001
-lfoo
TestLink.hs
# Test 2: ghci -Ldir -lfoo
# with dir/libfoo.so
...
...
@@ -30,7 +30,7 @@ ghcilink002 :
mkdir
dir002
"
$(TEST_HC)
"
-c
-dynamic
f.c
-o
dir002/foo.o
"
$(TEST_HC)
"
-shared
-v0
-o
dir002/
$(
call
DLL,foo
)
dir002/foo.o
echo
"test"
|
"
$(TEST_HC)
"
--interactive
-v0
-Ldir002
-lfoo
TestLink.hs
echo
"test"
|
"
$(TEST_HC)
"
--interactive
-ignore-dot-ghci
-v0
-Ldir002
-lfoo
TestLink.hs
# Test 3: ghci -lstdc++
# where libstdc++.so is normally found in a directory private to gcc,
...
...
@@ -38,7 +38,7 @@ ghcilink002 :
.PHONY
:
ghcilink003
ghcilink003
:
echo
":q"
|
"
$(TEST_HC)
"
--interactive
-v0
-lstdc
++
echo
":q"
|
"
$(TEST_HC)
"
--interactive
-ignore-dot-ghci
-v0
-lstdc
++
# Test 4:
# package P
...
...
@@ -65,7 +65,7 @@ ghcilink004 :
#
"
$(TEST_HC)
"
-c
f.c
-o
dir004/foo.o
ar cqs dir004/libfoo.a dir004/foo.o
echo
"test"
|
"
$(TEST_HC)
"
--interactive
-v0
-package-conf
$(LOCAL_PKGCONF004)
-package
test
TestLink.hs
echo
"test"
|
"
$(TEST_HC)
"
--interactive
-ignore-dot-ghci
-v0
-package-conf
$(LOCAL_PKGCONF004)
-package
test
TestLink.hs
# Test 5:
...
...
@@ -93,7 +93,7 @@ ghcilink005 :
#
"
$(TEST_HC)
"
-c
-dynamic
f.c
-o
dir005/foo.o
"
$(TEST_HC)
"
-shared
-o
dir005/
$(
call
DLL,foo
)
dir005/foo.o
echo
"test"
|
"
$(TEST_HC)
"
--interactive
-v0
-package-conf
$(LOCAL_PKGCONF005)
-package
test
TestLink.hs
echo
"test"
|
"
$(TEST_HC)
"
--interactive
-ignore-dot-ghci
-v0
-package-conf
$(LOCAL_PKGCONF005)
-package
test
TestLink.hs
# Test 6:
# package P
...
...
@@ -114,5 +114,5 @@ ghcilink006 :
echo
"[]"
>
$(LOCAL_PKGCONF006)
'
$(GHC_PKG)
'
--no-user-package-conf
-f
$(LOCAL_PKGCONF006)
register
$(PKG006)
-v0
#
echo
":q"
|
"
$(TEST_HC)
"
--interactive
-v0
-package-conf
$(LOCAL_PKGCONF006)
-package
test
echo
":q"
|
"
$(TEST_HC)
"
--interactive
-ignore-dot-ghci
-v0
-package-conf
$(LOCAL_PKGCONF006)
-package
test
Write
Preview
Markdown
is supported
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