- 16 Apr, 2007 2 commits
-
-
Simon Marlow authored
See #1277
-
Simon Marlow authored
The special cases for GHC.Prim are a bit fragile. We were relying on (a) the base package to be already registered and (b) the base package not to be hidden. These used to be true with the old library build system, but aren't true now. I'm still not sure why we aren't seeing failures at the moment, but this patch at least fixes the build with 'setup makefile'.
-
- 15 Apr, 2007 2 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
ifBuildable only runs a command it is given if the library in . either must be built (core-package - readline) or is buildable.
-
- 14 Apr, 2007 1 commit
-
-
wolfgang.thaller@gmx.net authored
When a snapshot version number is included, opt_HiVersion tends to exceed the range of a 32bit Int. MERGE TO STABLE
-
- 13 Apr, 2007 1 commit
-
-
Ian Lynagh authored
ProjectTags is expected to be of the form -tag1-tag2 (i.e. the same as Cabal tags). These are appended to the GHC version number.
-
- 12 Apr, 2007 9 commits
-
-
wolfgang.thaller@gmx.net authored
A recent patch accidentally had x86_TARGET_ARCH instead of i386_TARGET_ARCH.
-
wolfgang.thaller@gmx.net authored
Initial support for loading x86_64 Mach-O files
-
Ian Lynagh authored
-
wolfgang.thaller@gmx.net authored
In i386 position-independent symbol stubs, the NCG used to print jmp %edx instead of jmp *%edx Apple's assembler used to silently accept this, but has recently started to print warnings about it. MERGE TO STABLE.
-
wolfgang.thaller@gmx.net authored
... so that GHCi doesn't complain about duplicate symbols when two C modules define the same static variable. MERGE TO STABLE.
-
wolfgang.thaller@gmx.net authored
The __i686.get_pc_thunk symbols generated by gcc's PIC code generator are weak definitions that appear in every object file, so we need to deal with them. MERGE TO STABLE.
-
Ian Lynagh authored
-
Simon Marlow authored
-
Simon Marlow authored
-
- 11 Apr, 2007 3 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
-
Simon Marlow authored
and hopefully be a bit cleverer about finding things automatically.
-
- 12 Apr, 2007 2 commits
-
-
Simon Marlow authored
publish-binary-dist
-
Simon Marlow authored
-
- 11 Apr, 2007 5 commits
-
-
Simon Marlow authored
-
Ian Lynagh authored
-
Simon Marlow authored
This patch cleans up the GHC API, and adds some functionality: we can now compile to object code inside GHCi. Previously we had: data GhcMode = BatchCompile | Interactive | OneShot | JustTypecheck | MkDepend data HscTarget = HscC | HscAsm | HscJava | HscInterpreted | HscNothing There was redundancy here; if GhcMode is Interactive, then only HscInterpreted makes sense, and JustTypecheck required HscNothing. Now we have: data GhcMode = CompManager -- ^ --make, GHCi, etc. | OneShot -- ^ ghc -c Foo.hs | MkDepend -- ^ ghc -M, see Finder for why we need this and HscTarget remains as before. Previously GhcLink looked like this: data GhcLink = NoLink | StaticLink Now we have: data GhcLink = NoLink | LinkBinary | LinkInMemory The idea being that you can have an HscTarget of HscAsm (for example) and still link in memory. There are two new flags: -fobject-code selects object code as the target (selects either -fasm or -fvia-C, whichever is the default) This can be usd with ':set' in GHCi, or on the command line. -fbyte-code sets byte-code as the target. Only works in GHCi. One day maybe this could save the byte code in a file when used outside GHCi. (names chosen for consistency with -fno-code). Changes to the GHC API: newSession no longer takes the GhcMode argument. The GhcMode defaults to CompManager, which is usually what you want. To do JustTypecheck now, just set hscTarget to HscNothing.
-
Ian Lynagh authored
-
Ian Lynagh authored
-
- 10 Apr, 2007 4 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
This use was the only thing keeping parsec in core-packages, and we already have a dependency on alex+happy anyway.
-
Ian Lynagh authored
3 small regexps were responsible for pulling 3 packages into core-packages. The new code should also do a better job of hiding "call-clobbered register used" warnings.
-
Ian Lynagh authored
It used to be the case that autoreconf in the root would also autoreconf in any libraries that need it, and ./configure in the root would also configure all the libraries. However, cabal now configures the libraries, so they were getting configured twice. Thus now a small shellscript, boot, autoreconfs the root and all libraries that need it, and ./configure in the root doesn't configure the libraries.
-
- 09 Apr, 2007 2 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
- 06 Apr, 2007 2 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
* configure can be told where ld is * make an hsc2hs-inplace.bat * tell Setup configure about foo.bar rather than foo on Windows * tell Setup configure to pass a --with-cc=$(CC) argument to ./configure
-
- 13 Nov, 2006 1 commit
-
-
Aaron Tomb authored
This patch updates the External Core creator, pretty-printer, and parser to agree on a concrete syntax for External Core, including the constructs required by the change to System FC. Code to create valid ASTs from External Core files will come later, as will bits for renaming, typechecking, and desugaring.
-
- 06 Apr, 2007 1 commit
-
-
Ian Lynagh authored
-
- 16 Mar, 2007 2 commits
-
-
Ian Lynagh authored
(we don't actually do anything useful either, because Cabal doesn't have an install-docs option).
-
Ian Lynagh authored
-
- 10 Mar, 2007 1 commit
-
-
Ian Lynagh authored
-
- 08 Mar, 2007 1 commit
-
-
Ian Lynagh authored
-
- 01 Apr, 2007 1 commit
-
-
red5_2@hotmail.com authored
Some fixes to adjustor functions. The 8-byte address returned by the allocator is adjusted to be aligned to 16-byte boundaries. Fixed a typo in inserting an immediate address into an instruction. This fixes the calls to 5-argument and 6-argument functions in ffi009. Some functions still break. I suspect it's related to passing arguments on the stack.
-