Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
7be2acc7
Commit
7be2acc7
authored
Sep 26, 2002
by
simonpj
Browse files
[project @ 2002-09-26 09:01:34 by simonpj]
Notes on .exe files
parent
9ed15276
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/docs/users_guide/using.sgml
View file @
7be2acc7
...
...
@@ -574,6 +574,16 @@ ghc ––make Main.hs
counterintuitive: <command>ghc -C -o foo.o foo.hs</command>
will put the intermediate C code in the file
<filename>foo.o</filename>, name notwithstanding!</para>
<para>Note: on Windows, if the result is an executable file, the
extension "<filename>.exe</filename>" is added if the specified filename
does not already have an extension. Thus
<programlisting>
ghc -o foo Main.hs
</programlisting>
will compile and link the module <filename>Main.hs</filename>, and put the
resulting executable in <filename>foo.exe</filename> (not <filename>foo</filename>).
</para>
</listitem>
</varlistentry>
...
...
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