Skip to content

having build issues with ghc 6.6.1

Hi,

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:

  1. /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[1]: *** 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!

Trac metadata
Trac field Value
Version 6.6.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information