GCC in the Windows distribution of GHC

2005-12-07 Thread cschmidt
The Windows distribution of GHC includes GCC. Some header files (such as iostream, algorithm, and so forth), however, are missing (at least I was not able to find them). I could, of course, download the correct version of GCC (this must be version 3.2.3 for GHC 6.4), and put the header files

RE: GCC in the Windows distribution of GHC

2005-12-07 Thread Simon Marlow
On 07 December 2005 13:39, [EMAIL PROTECTED] wrote: The Windows distribution of GHC includes GCC. Some header files (such as iostream, algorithm, and so forth), however, are missing (at least I was not able to find them). I could, of course, download the correct version of GCC (this must

Re: GCC in the Windows distribution of GHC

2005-12-07 Thread Babo Attila
Simon Marlow wrote: If you want to compile C files using GHC (a reasonable thing to do), then the right thing to do is install a full GCC somewhere (eg. the mingw gcc), and tell GHC to use it, like this: $ ghc -pgmc c:/mingw/bin/gcc -c foo.c How this flag affects linking and the location of