Re: porting ghc-6.4 to x86_64

2005-03-23 Thread Andrei A. Voropaev
On Wed, Mar 23, 2005 at 09:26:26AM -, Simon Marlow wrote: > On 23 March 2005 09:18, Andrei A. Voropaev wrote: > > > Sorry. Forgot to ask the next question on this process. Now that I > > have unregistered compiler, how do I build the registered one? > > > > I've tried to start with new tree an

RE: porting ghc-6.4 to x86_64

2005-03-23 Thread Simon Marlow
On 23 March 2005 09:18, Andrei A. Voropaev wrote: > Sorry. Forgot to ask the next question on this process. Now that I > have unregistered compiler, how do I build the registered one? > > I've tried to start with new tree and then run > > ./configure --with-ghc=T/ghc/compiler/ghc-inplace > make

Re: porting ghc-6.4 to x86_64

2005-03-23 Thread Andrei A. Voropaev
Sorry. Forgot to ask the next question on this process. Now that I have unregistered compiler, how do I build the registered one? I've tried to start with new tree and then run ./configure --with-ghc=T/ghc/compiler/ghc-inplace make But this resulted in an error ==fptools== make boot - --no-print

Re: porting ghc-6.4 to x86_64

2005-03-23 Thread Andrei A. Voropaev
On Tue, Mar 22, 2005 at 08:56:25PM -, Simon Marlow wrote: > On 22 March 2005 10:10, Andrei A. Voropaev wrote: > > > Well, looking at the makefile it becomes clear, that it must do so. > > - > > # Make DerivedConstants.h for the compiler > > > > all :: Deriv

RE: porting ghc-6.4 to x86_64

2005-03-22 Thread Simon Marlow
On 22 March 2005 10:10, Andrei A. Voropaev wrote: > Well, looking at the makefile it becomes clear, that it must do so. > - > # Make DerivedConstants.h for the compiler > > all :: DerivedConstants.h > > mkDerivedConstants.c : $(H_CONFIG) > > mkDerivedConstant

Re: porting ghc-6.4 to x86_64

2005-03-22 Thread Andrei A. Voropaev
On Tue, Mar 22, 2005 at 11:03:58AM +0100, Andrei A. Voropaev wrote: > On Tue, Mar 22, 2005 at 09:38:20AM -, Simon Marlow wrote: > > On 22 March 2005 09:24, Andrei A. Voropaev wrote: > > > > > On Tue, Mar 22, 2005 at 10:06:13AM +0100, Andrei A. Voropaev wrote: > > >> On Mon, Mar 21, 2005 at 02:

Re: porting ghc-6.4 to x86_64

2005-03-22 Thread Andrei A. Voropaev
On Tue, Mar 22, 2005 at 09:38:20AM -, Simon Marlow wrote: > On 22 March 2005 09:24, Andrei A. Voropaev wrote: > > > On Tue, Mar 22, 2005 at 10:06:13AM +0100, Andrei A. Voropaev wrote: > >> On Mon, Mar 21, 2005 at 02:20:25PM -, Simon Marlow wrote: > >> [...] > > Did you copy across ghc/

RE: porting ghc-6.4 to x86_64

2005-03-22 Thread Simon Marlow
On 22 March 2005 09:24, Andrei A. Voropaev wrote: > On Tue, Mar 22, 2005 at 10:06:13AM +0100, Andrei A. Voropaev wrote: >> On Mon, Mar 21, 2005 at 02:20:25PM -, Simon Marlow wrote: >> [...] > Did you copy across ghc/includes/DerivedConstants.h and > ghc/includes/GHCConstants.h from the

Re: porting ghc-6.4 to x86_64

2005-03-22 Thread Andrei A. Voropaev
On Tue, Mar 22, 2005 at 10:06:13AM +0100, Andrei A. Voropaev wrote: > On Mon, Mar 21, 2005 at 02:20:25PM -, Simon Marlow wrote: > [...] > > >> Did you copy across ghc/includes/DerivedConstants.h and > > >> ghc/includes/GHCConstants.h from the target to the host? I think > > >> that should fix

Re: porting ghc-6.4 to x86_64

2005-03-22 Thread Andrei A. Voropaev
On Mon, Mar 21, 2005 at 02:20:25PM -, Simon Marlow wrote: [...] > >> Did you copy across ghc/includes/DerivedConstants.h and > >> ghc/includes/GHCConstants.h from the target to the host? I think > >> that should fix the above error (the docs do say you have to do > >> this, so perhaps it's som

RE: porting ghc-6.4 to x86_64

2005-03-21 Thread Simon Marlow
On 21 March 2005 14:12, Andrei A. Voropaev wrote: > On Mon, Mar 21, 2005 at 02:09:03PM -, Simon Marlow wrote: >> On 21 March 2005 09:52, Andrei A. Voropaev wrote: >> >>> I know that this has been done already (at least by RedHat), but >>> since I don't use RedHat (or any other distro of linux

Re: porting ghc-6.4 to x86_64

2005-03-21 Thread Andrei A. Voropaev
On Mon, Mar 21, 2005 at 02:09:03PM -, Simon Marlow wrote: > On 21 March 2005 09:52, Andrei A. Voropaev wrote: > > > I know that this has been done already (at least by RedHat), but > > since I > > don't use RedHat (or any other distro of linux) and instead compiled > > everything myself, I ha

RE: porting ghc-6.4 to x86_64

2005-03-21 Thread Simon Marlow
On 21 March 2005 09:52, Andrei A. Voropaev wrote: > I know that this has been done already (at least by RedHat), but > since I > don't use RedHat (or any other distro of linux) and instead compiled > everything myself, I have to bootstrap ghc as well. So I'm carefully > following the instruction.