having build issues with ghc 6.6.1
I am very new to building ghc. My platform is "i686-pc-linux-gnu", my system is suse linux enterprise server 9 32-bit, and my system does not have ghc preinstalled. that's why I thought that I have to port/build ghc for my platform as an unregistered build.
I created the build.mk file as follows and put that in my mk/build.mk in the source tree that I have downloaded.
SRC_HC_OPTS = -H32m -O -fasm -Rghc-timing GhcStage1HcOpts = -O0 -DDEBUG -W GhcLibHcOpts = -O0 -fgenerics GhcLibWays = SplitObjs = NO
I am using gcc 3.4.2.
My configure command is as follows (not sure if I am doing anything wrong here, I have tried to follow the build/port instructions as closley as I could:
- /configure --prefix=/opt/ghc --with-gcc=/opt/gcc/3.4.2/bin/gcc --enable-hc-boot --enable-hc-boot-unregisterised
configure seems to run ok.
when I go about building, thats when I get the following error:
gmake: *** No rule to make target
Apply.o', needed by libHSrts.a'. Stop.
Please help me with this. I open for anything to try out to get this done.
Thanks in advance!