- 26 Apr, 2006 1 commit
-
-
simonpj@microsoft.com authored
Messages involving Template Haskell are deeply puzzling if you don't know about TH, so it seems better to make -fth an explicit flag. It is no longer switched on by -fglasgow-exts.
-
- 07 Apr, 2006 1 commit
-
-
Simon Marlow authored
Most of the other users of the fptools build system have migrated to Cabal, and with the move to darcs we can now flatten the source tree without losing history, so here goes. The main change is that the ghc/ subdir is gone, and most of what it contained is now at the top level. The build system now makes no pretense at being multi-project, it is just the GHC build system. No doubt this will break many things, and there will be a period of instability while we fix the dependencies. A straightforward build should work, but I haven't yet fixed binary/source distributions. Changes to the Building Guide will follow, too.
-
- 06 Apr, 2006 1 commit
-
-
David Himmelstrup authored
-fignore-breakpoints can be used to ignore breakpoints.
-
- 18 Mar, 2006 2 commits
-
-
David Himmelstrup authored
I've removed -fno-code from Main to make it work equally well with --make and -c. I've also allowed it not to write hi files unless -fwrite-iface is given.
-
David Himmelstrup authored
I've removed -fno-code from Main to make it work equally well with --make and -c. I've also allowed it not to write hi files unless -fwrite-iface is given.
-
- 07 Mar, 2006 1 commit
-
-
Simon Marlow authored
This seems to be required now that we're stealing more registers.
-
- 10 Feb, 2006 1 commit
-
-
David Himmelstrup authored
-
- 08 Feb, 2006 1 commit
-
-
Simon Marlow authored
-
- 03 Feb, 2006 1 commit
-
-
simonpj@microsoft.com authored
This commit adds bang-patterns, enabled by -fglasgow-exts or -fbang-patterns diabled by -fno-bang-patterns The idea is described here http://haskell.galois.com/cgi-bin/haskell-prime/trac.cgi/wiki/BangPatterns
-
- 25 Nov, 2005 1 commit
-
-
simonmar authored
-ddump-minimal-imports shouldn't turn off recompilation checking
-
- 31 Oct, 2005 1 commit
-
-
simonmar authored
x86_64: pass -fno-unit-at-a-time to gcc. See comment for details.
-
- 28 Oct, 2005 2 commits
-
-
simonmar authored
Add -stubdir option to control location of generated stub files. Also do some clean up while I'm here - remove hscStubCOut/hscStubHOut from DynFlags, and add mkStubPaths :: DynFlags -> Module -> ModLocation -> (FilePath,FilePath) to Finder. (this seemed better than caching the stub paths in every ModLocation, because they are rarely needed and only present in home modules, and are easily calculated from other available information). -stubdir behaves in exactly the same way as -odir and -hidir.
-
simonmar authored
Change the default executable name to match the basename of the source file containing the Main module (or the module specified by -main-is), if there is one. On Windows, the .exe extension is added. As requested on the ghc-users list, and as implemented by Tomasz Zielonka <tomasz.zielonka at gmail.com>, with modifications by me. I changed the type of the mainModIs field of DynFlags from Maybe String to Module, which removed some duplicate code.
-
- 25 Oct, 2005 1 commit
-
-
simonmar authored
Two changes from Krasimir Angelov, which were required for Visual Haskell: - messaging cleanup throughout the compiler. DynFlags has a new field: log_action :: Severity -> SrcSpan -> PprStyle -> Message -> IO () this action is invoked for every message generated by the compiler. This means a client of the GHC API can direct messages to any destination, or collect them up in an IORef for later perusal. This replaces previous hacks to redirect messages in the GHC API (hence some changes to function types in GHC.hs). - The JustTypecheck mode of GHC now does what it says. It doesn't run any of the compiler passes beyond the typechecker for each module, but does generate the ModIface in order that further modules can be typechecked. And one change from me: - implement the LANGUAGE pragma, finally
-
- 19 Aug, 2005 1 commit
-
-
simonpj authored
Make -fno-code work again
-
- 03 Aug, 2005 1 commit
-
-
simonmar authored
fix bogus #ifdef in defaultHscTarget
-
- 11 Jul, 2005 1 commit
-
-
simonmar authored
x86_64: Pass -fno-asynchronous-unwind-tables to gcc, which eliminates some unnecessary junk from the via-C generated code and allows -split-objs to work.
-
- 07 Jun, 2005 1 commit
-
-
simonmar authored
-ddump-hi-diffs shouldn't turn off recompilation checking
-
- 23 May, 2005 1 commit
-
-
simonpj authored
Track new semantics of splitLongestPrefix; fixes -main-is bug
-
- 26 Apr, 2005 1 commit
-
-
simonmar authored
Back out previous revision. It appears that passing -g to the assembly phase of C compilation results in an object file with broken debug info, that gdb can't read. This is probably a bug in gcc and/or binutils, but this change means that I can't avoid it (unless we were to hack the pipeline to do .c->.s->.o in one stage instead of two).
-
- 25 Apr, 2005 1 commit
-
-
simonmar authored
Requested by Duncan Coutts: -optc flags get passed to the assembler phase too. It's not obvious, when using GHC to compile a .c file, that options need to be passed both with -optc and -opta - gcc doesn't need this, for example. This is an experimental change - if it breaks anything we can back it out. If anyone needs to pass flags to the .c->.s phase *only*, then we will need to add another flag for that purpose. It seems unlikely, though (there aren't many flags that affect the assembler only, and those that do don't conflict with flags for the C phase).
-
- 22 Apr, 2005 1 commit
-
-
simonmar authored
enable splitting on x86_64
-
- 07 Apr, 2005 1 commit
-
-
simonmar authored
Add the -hide-all-packages flag.
-
- 31 Mar, 2005 1 commit
-
-
simonmar authored
Tweaks to get the GHC sources through Haddock. Doesn't quite work yet, because Haddock complains about the recursive modules. Haddock needs to understand SOURCE imports (it can probably just ignore them as a first attempt).
-
- 22 Mar, 2005 1 commit
-
-
simonpj authored
Windows wibbles
-
- 21 Mar, 2005 1 commit
-
-
simonmar authored
Complete the transition of -split-objs into a dynamic flag (looks like I half-finished it in the last commit). Also: complete the transition of -tmpdir into a dynamic flag, which involves some rearrangement of code from SysTools into DynFlags. Someday, initSysTools should move wholesale into initDynFlags, because most of the state that it initialises is now part of the DynFlags structure, and the rest could be moved in easily.
-
- 18 Mar, 2005 1 commit
-
-
simonmar authored
Flags cleanup. Basically the purpose of this commit is to move more of the compiler's global state into DynFlags, which is moving in the direction we need to go for the GHC API which can have multiple active sessions supported by a single GHC instance. Before: $ grep 'global_var' */*hs | wc -l 78 After: $ grep 'global_var' */*hs | wc -l 27 Well, it's an improvement. Most of what's left won't really affect our ability to host multiple sessions. Lots of static flags have become dynamic flags (yay!). Notably lots of flags that we used to think of as "driver" flags, like -I and -L, are now dynamic. The most notable static flags left behind are the "way" flags, eg. -prof. It would be nice to fix this, but it isn't urgent. On the way, lots of cleanup has happened. Everything related to static and dynamic flags lives in StaticFlags and DynFlags respectively, and they share a common command-line parser library in CmdLineParser. The flags related to modes (--makde, --interactive etc.) are now private to the front end: in fact private to Main itself, for now.
-