[Haskell-cafe] Compiling GHC
cwitte at gmail.com
Thu Apr 12 21:03:22 EDT 2007
Awesome that works!
Thanks for your help.
Well that works for the ghc-6.7.20070402 tar ball but if I try and
pull down the darcs head it fails to make with
make: Entering directory `/c/cwitte/source/ghc/libraries'
rm -f -f stamp/configure.library.*.base
cd base && setup/Setup configure \
The system cannot find the path specified.
make: *** [stamp/configure.library.build.base] Error 1
make: Leaving directory `/c/cwitte/source/ghc/libraries'
make: *** [stage1] Error 2
I wonder what has changed between then and now to cause this.
On 4/12/07, Andrew Appleyard <aja at cse.unsw.edu.au> wrote:
> On 11/04/2007, at 7:52 pm, Chris Witte wrote:
> > I made this change but I still get the error
> > unknown symbol `_gettimeofday'
> > I'm using mingw 5.1.3 which as far as i can tell should use the
> > 3.11 runtime.
> Ensure that HAVE_GETTIMEOFDAY is defined in mk/config.h.
> Also, I discovered that changes to Linker.c don't make it into
> ghc.exe if you just do a 'make' in the base directory. You need to
> make the RTS, then link ghc with the new RTS. The following commands
> work for me (more typing, but a lot faster than making clean):
> make -C rts
> rm compiler/stage2/ghc.exe
> make -C compiler stage=2
> make install
> Hope that helps.
More information about the Haskell-Cafe