RE: compiling ghci...

You probably want the cvs-ghc mailing list, used by GHC developers, rather than ghc-users. Assuming you already have a stage-2 compiler built (in ghc/compiler/stage2/ghc-inplace), if you change the RTS you should be able to type 'make' in ghc/rts, and then run the stage-2 compiler without recompiling either the stage-1 or stage-2 compiler. Simon | -----Original Message----- | From: Andre Rauber Du Bois [mailto:dubois@macs.hw.ac.uk] | Sent: 21 February 2003 12:16 | To: glasgow-haskell-users@haskell.org | Subject: compiling ghci... | | | Hello! | | I am playing with ghci and also trying to modify things in its | Scheduler. As ghci is only generated if it is compiled using the same | version of the compiler that you are trying to generate, if I change the | Scheduler.c file, I always have to compile the whole thing twice. I | already tried only recompiling the RTS but it does not work. Is there a | short cut, or, what files I have to recompile if I am changing the rts and | want to see these changes in ghci? | Is this the right place to ask these questions? :-) | | Cheers, | Andre. | -- | --------------------------------- | André Rauber Du Bois | dubois at macs.hw.ac.uk | http://www.macs.hw.ac.uk/~dubois/ | | _______________________________________________ | Glasgow-haskell-users mailing list | Glasgow-haskell-users@haskell.org | http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Hello!
Assuming you already have a stage-2 compiler built (in ghc/compiler/stage2/ghc-inplace), if you change the RTS you should be able to type 'make' in ghc/rts, and then run the stage-2 compiler without recompiling either the stage-1 or stage-2 compiler.
Ok, that is what i tried to do before posting my question :-) But somehow it does not work... I change the files, rebuild the rts but I do not get the changes in my stage-2 compiler running --interactive... I will post the question again in the cvs-ghc mailing list... Andre.
Simon
| -----Original Message----- | From: Andre Rauber Du Bois [mailto:dubois@macs.hw.ac.uk] | Sent: 21 February 2003 12:16 | To: glasgow-haskell-users@haskell.org | Subject: compiling ghci... | | | Hello! | | I am playing with ghci and also trying to modify things in its | Scheduler. As ghci is only generated if it is compiled using the same | version of the compiler that you are trying to generate, if I change the | Scheduler.c file, I always have to compile the whole thing twice. I | already tried only recompiling the RTS but it does not work. Is there a | short cut, or, what files I have to recompile if I am changing the rts and | want to see these changes in ghci? | Is this the right place to ask these questions? :-) | | Cheers, | Andre. | -- | --------------------------------- | André Rauber Du Bois | dubois at macs.hw.ac.uk | http://www.macs.hw.ac.uk/~dubois/ | | _______________________________________________ | Glasgow-haskell-users mailing list | Glasgow-haskell-users@haskell.org | http://www.haskell.org/mailman/listinfo/glasgow-haskell-users _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
-- --------------------------------- André Rauber Du Bois dubois at macs.hw.ac.uk http://www.macs.hw.ac.uk/~dubois/
participants (2)
-
Andre Rauber Du Bois
-
Simon Peyton-Jones