6.2.2 candidate

Mike Thomas mike.thomas at brisbane.paradigmgeo.com
Wed Sep 15 00:33:11 EDT 2004


Hi Sigbjorn.

| A Windows test installer for the upcoming 6.2.2 is now available as

Thanks for that - it installed smoothly under Windows XP Pro SP2.  I tried
your Win32 library example and it worked with both ghci and ghc as
installed.  I will use the new package to build GHC tonight as a further
test.

Note however, that if no "-o" command line option is given ghc builds an
executable called "a.out" (no exe extension) which runs without further ado
on my OS but I guess not on, for example, Windows 98.   Directory listings
and command line stuff to illustrate are below.  If "-o somename" is given
without a .exe the extension is added.

I think that an exe extension should be added in all cases; what do you
reckon?

Cheers

Mike Thomas.


C:\lang\source\ghc\w32test>dir
 Volume in drive C has no label.
 Volume Serial Number is 44EE-D89E

 Directory of C:\lang\source\ghc\w32test

21/05/2004  09:39 AM    <DIR>          .
21/05/2004  09:39 AM    <DIR>          ..
14/02/2004  12:11 AM             3,541 hello.lhs
               1 File(s)          3,541 bytes
               2 Dir(s)  10,852,573,184 bytes free

C:\lang\source\ghc\w32test>ghc -package win32 hello.lhs

C:\lang\source\ghc\w32test>dir
 Volume in drive C has no label.
 Volume Serial Number is 44EE-D89E

 Directory of C:\lang\source\ghc\w32test

15/09/2004  02:17 PM    <DIR>          .
15/09/2004  02:17 PM    <DIR>          ..
15/09/2004  02:17 PM           743,007 a.out
15/09/2004  02:17 PM               454 hello.hi
14/02/2004  12:11 AM             3,541 hello.lhs
15/09/2004  02:17 PM            26,494 hello.o
               4 File(s)        773,496 bytes
               2 Dir(s)  10,851,459,072 bytes free

C:\lang\source\ghc\w32test>del hello.o hello.hi a.out

C:\lang\source\ghc\w32test>dir
 Volume in drive C has no label.
 Volume Serial Number is 44EE-D89E

 Directory of C:\lang\source\ghc\w32test

15/09/2004  02:18 PM    <DIR>          .
15/09/2004  02:18 PM    <DIR>          ..
14/02/2004  12:11 AM             3,541 hello.lhs
               1 File(s)          3,541 bytes
               2 Dir(s)  10,849,570,816 bytes free

C:\lang\source\ghc\w32test>ghc -package win32 hello.lhs -o hello

C:\lang\source\ghc\w32test>dir
 Volume in drive C has no label.
 Volume Serial Number is 44EE-D89E

 Directory of C:\lang\source\ghc\w32test

15/09/2004  02:20 PM    <DIR>          .
15/09/2004  02:20 PM    <DIR>          ..
15/09/2004  02:20 PM           743,007 hello.exe
15/09/2004  02:20 PM               454 hello.hi
14/02/2004  12:11 AM             3,541 hello.lhs
15/09/2004  02:20 PM            26,494 hello.o
               4 File(s)        773,496 bytes
               2 Dir(s)  10,848,620,544 bytes free




More information about the Cvs-ghc mailing list