building 6.12.1 with itself

2010-01-31 Thread Nicolas Martyanoff
Hi, By reading Matthias Kilian's scripts (thank you !), I successfully builded GHC 6.12.1. GHC 6.10.4 didn't build: gLexer.x gmake[2]: g: Command not found gmake[2]: [Lexer.hs] Error 127 (ignored) RTS -K2m -RTS -agc --strictParser.y gmake[2]: RTS: Command not found

forgetting SCC

2010-01-31 Thread Serge D. Mechveliani
I have a suggestion: is it better for GHC to report an error on the source of kind {-# foo #-} (entered by a typo instead of {-# SCC foo #-}) ? Currently, GHC makes the program under (-prof) in which, the foo center occurs skipped. This

ghc rts selection and third party libraries

2010-01-31 Thread John Lask
Hello I hope someone can provide some guidance on how I can solve a certain problem. I have a library that taps into the ghc c rts: specifically when the rts is single threaded I am pumping events in via: stg_pending_events, when the threaded rts is used I use sendIOManagerEvent. i.e. I

Quasi quoting

2010-01-31 Thread Simon Peyton-Jones
Dear GHC users This email is to announce two proposed changes to GHC's quasi-quotation mechanism. For all I know, no one is using quasi-quotation (although it's a very cool feature, thanks to Geoff Mainland), but I didn't think I should take it for granted! The current spec is here: