- 03 Aug, 2009 1 commit
-
-
Simon Marlow authored
-
- 02 Aug, 2009 2 commits
-
-
Simon Marlow authored
The first phase of this tidyup is focussed on the header files, and in particular making sure we are exposinng publicly exactly what we need to, and no more. - Rts.h now includes everything that the RTS exposes publicly, rather than a random subset of it. - Most of the public header files have moved into subdirectories, and many of them have been renamed. But clients should not need to include any of the other headers directly, just #include the main public headers: Rts.h, HsFFI.h, RtsAPI.h. - All the headers needed for via-C compilation have moved into the stg subdirectory, which is self-contained. Most of the headers for the rest of the RTS APIs have moved into the rts subdirectory. - I left MachDeps.h where it is, because it is so widely used in Haskell code. - I left a deprecated stub for RtsFlags.h in place. The flag structures are now exposed by Rts.h. - Various internal APIs are no longer exposed by public header files. - Various bits of dead code and declarations have been removed - More gcc warnings are turned on, and the RTS code is more warning-clean. - More source files #include "PosixSource.h", and hence only use standard POSIX (1003.1c-1995) interfaces. There is a lot more tidying up still to do, this is just the first pass. I also intend to standardise the names for external RTS APIs (e.g use the rts_ prefix consistently), and declare the internal APIs as hidden for shared libraries.
-
Ian Lynagh authored
-
- 01 Jul, 2009 1 commit
-
-
Simon Marlow authored
-
- 13 Jun, 2009 1 commit
-
-
Duncan Coutts authored
Nothing from gmp is used in the rts anymore.
-
- 11 Jun, 2009 1 commit
-
-
Ian Lynagh authored
-
- 20 Jun, 2009 1 commit
-
-
Ian Lynagh authored
-
- 30 May, 2009 2 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
I've also added some missing $s to some makefiles. These aren't technically necessary, but it's nice to be consistent.
-
- 21 May, 2009 1 commit
-
-
Simon Marlow authored
-
- 19 May, 2009 1 commit
-
-
Duncan Coutts authored
This is now the same as the old default. Currently we cannot embed rpaths because they would point to the build tree. We should embed rpaths relative to the $ORIGIN in future.
-
- 15 May, 2009 1 commit
-
-
Duncan Coutts authored
Previously the object code for the C main function lived in the rts lib, however this is a problem when the rts is built as a shared lib. With Windows DLLs it always causes problems while on ELF systems it's a problem when the user decides to use their own C main function rather than a Haskell Main.main. So instead we now put main in it's own tiny little static lib libHSrtsmain.a which we install next to the rts libs. Whenever ghc links a program (without -no-hs-main) then it also links in -lHSrtsmain. For consistency we always do it this way now rather than trying to do it differently for static vs shared libraries.
-
- 14 May, 2009 1 commit
-
-
Duncan Coutts authored
-
- 16 May, 2009 2 commits
-
-
Ian Lynagh authored
-
Ian Lynagh authored
-
- 01 May, 2009 1 commit
-
-
Duncan Coutts authored
When using shared libs we should link each lib against its deps. This allows the dynamic linker to chase dependencies and means we do not have to specify all indirect dependencies (as we must do for static libs).
-
- 05 May, 2009 1 commit
-
-
Simon Marlow authored
-
- 04 May, 2009 1 commit
-
-
Ian Lynagh authored
-
- 03 May, 2009 1 commit
-
-
Ian Lynagh authored
-
- 29 Apr, 2009 1 commit
-
-
Duncan Coutts authored
That is, build it as a .so/.dll rather than as libHSrts_dyn.a
-
- 28 Apr, 2009 2 commits
-
-
Simon Marlow authored
-
Simon Marlow authored
# ----------------------------------------------------------------------------- # # (c) 2009 The University of Glasgow # # This file is part of the GHC build system. # # To understand how the build system works and how to modify it, see # http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture # http://hackage.haskell.org/trac/ghc/wiki/Building/Modifying # # -----------------------------------------------------------------------------
-
- 26 Apr, 2009 1 commit
-
-
Ian Lynagh authored
-