Skip to content
GitLab
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
81c59c75
Commit
81c59c75
authored
Sep 16, 2004
by
mthomas
Browse files
[project @ 2004-09-16 01:39:24 by mthomas]
On Windows default to main.exe instead of a.out.
parent
daf67985
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/main/DriverPipeline.hs
View file @
81c59c75
...
...
@@ -994,7 +994,11 @@ staticLink o_files dep_packages = do
-- dependencies, and eliminating duplicates.
o_file
<-
readIORef
v_Output_file
#
if
defined
(
mingw32_HOST_OS
)
let
output_fn
=
case
o_file
of
{
Just
s
->
s
;
Nothing
->
"main.exe"
;
}
#
else
let
output_fn
=
case
o_file
of
{
Just
s
->
s
;
Nothing
->
"a.out"
;
}
#
endif
pkg_lib_paths
<-
getPackageLibraryPath
dep_packages
let
pkg_lib_path_opts
=
map
(
"-L"
++
)
pkg_lib_paths
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment