RE: Unregistered build (was Re: AMD64)

On 02 June 2004 18:40, Bennett Todd wrote:
I too would be happy with an unregistered build.
I've tried off and on to port ghc to my linux distro (uses static linking against uClibc, glibc isn't present at all). Every time I go through the process, I get stuck at the point where I seem to have a working unregistered build. I can't quite find the missing link to proceed on to a registered build, and "make install" on the unregistered build doesn't do anything.
Is there some special trick to get the unregistered build to make install?
You probably don't want to install the registerised build; just use it to build a fresh tree: $ ./configure --with-ghc=/unregisterised-build/ghc/compiler/ghc-inplace $ make If your platform supports registerised compilation, then this *should* just work. Cheers, Simon

2004-06-14T16:06:05 Simon Marlow:
You probably don't want to install the registerised build; just use it to build a fresh tree:
$ ./configure --with-ghc=/unregisterised-build/ghc/compiler/ghc-inplace $ make
Thanks, I'll give it another go. It'll be a few days before I can get back with results (each build seems to take about a day, I've only got 128MB of RAM). I _think_ I tried that before and ended up getting an error, that was why I was hoping to just install the unregistered build. But I'll take another swing at it and report the results. Thanks again, -Bennett

2004-06-14T16:06:05 Simon Marlow:
You probably don't want to install the registerised build; just use it to build a fresh tree:
$ ./configure --with-ghc=/unregisterised-build/ghc/compiler/ghc-inplace $ make
Everything was fine up to there, but "make" does nothing at all. I followed the instructions for creating the ghc-6.2.1-i386-unknown-linux-hc.tar.gz (which I did on a Red Hat 8 system), then (on my uClibc-based, static linking system) ran tar xjf ghc-6.2.1-src.tar.bz2 tar xzf ghc-6.2.1-i386-unknown-linux-hc.tar.gz cd ghc-6.2.1 ./configure --enable-hc-boot --enable-hc-boot-unregisterised --prefix=/usr ./distrib/hc-build --enable-hc-boot-unregisterised --prefix=/usr ./configure --with-ghc=`pwd`/ghc/compiler/ghc-inplace make That last make didn't do anything. -Bennett
participants (2)
-
Bennett Todd
-
Simon Marlow