- 29 Jul, 2002 2 commits
-
-
simonmar authored
Add -static to the linker command line when -static is passed to GHC. At some point we might want a way to say that Haskell libraries should be linked statically but everything else should be linked as normal, but since we aren't really supporting dynamic Haskell libraries at this time, we don't need to address that yet.
-
simonpj authored
More informative crash in rdrNameModule
-
- 28 Jul, 2002 3 commits
- 26 Jul, 2002 2 commits
-
-
simonmar authored
Always return 8-byte-aligned memory from arenaAlloc(). Fixes problems with profiling on sparc-sun-solaris2, and might fix problems with Windows too. MERGE
-
sof authored
interactiveLoop{mingw32}: always show prompt under mingw. hIsTerminalDevice returns True iff stdin is connected to a Console under Win32. Which it is when running in a command shell (DOS,bash etc.), but Emacs sub-shells don't get a Console of their own when invoked. So, just disable this feature (whose motivation somewhat escapes me.)
-
- 25 Jul, 2002 2 commits
-
-
sof authored
Expose printAllThreads() in non-DEBUG builds; of some use when debugging ConcHask code and want a dump of the current state of the system's threads. Not provided via a library, so to use, do foreign import call unsafe printAllThreads :: IO ()
-
simonmar authored
Add -ddump-minimal-imports (not sure why this was missing) MERGE
-
- 24 Jul, 2002 5 commits
-
-
sof authored
warning removal
-
simonmar authored
Documentation for #offset
-
simonmar authored
Add #offset for just grabbing the byte offset of a struct field.
-
krasimir authored
add GhcLibsWithObjectIO
-
sof authored
awaitEvent: if select() reports EBADF, always unblock all waiting threads, even if the prior invocation of select() also elicited an EBADF. The 'smart' that was there previously runs the risk of working against us (if the EBADFs are coming from different fds), so the above scheme is preferable (and simpler.)
-
- 23 Jul, 2002 11 commits
-
-
krasimir authored
add --enable-objectio configuration option
-
ken authored
Change "rm" in example makefile to "rm -f", in case there is no .o file to remove
-
simonpj authored
Use tcLookupId, not tcLookupGlobalId, in Inst.newMethodFromName This really only affects the behaviour with -fno-implicit-prelude *** MERGE TO STABLE BRANCH ***
-
simonpj authored
a) Correct precedence for application in derived Read/Show b) Spaces round '=' in derived Show for records *** MERGE TO STABLE BRANCH ***
-
sof authored
find ~=> $(FIND)
-
simonmar authored
if $(STAMP_PKG_CONF) is non-null, then wait for it before generating dependencies. This avoids a race with 'make -j' where package.conf could get modified while the compiler is reading it.
-
simonmar authored
Don't re-run ghc-pkg if the package conf files haven't changed. We use a stamp file rather than adding an explicit dependency on ghc/driver/package.conf{,.inplace} for reasons explained in a comment.
-
simonmar authored
Use $(HADDOCK) rather than $(HADDOCK_INPLACE)
-
simonmar authored
Add $(HADDOCK) pointing to the Haddock to use (src tree or installed)
-
simonmar authored
- Invoke FPTOOLS_HADDOCK to find an installed Haddock - Add an option --use-src-tree-haddock to mirror --use-src-tree-happy
-
simonmar authored
Add FPTOOLS_HADDOCK to detect an installed version of Haddock.
-
- 22 Jul, 2002 3 commits
-
-
stolz authored
Last bunch of OpenBSD-implicated autoconf-changes from Donald Bruce Stewart <dons@cse.unsw.edu.au>.
-
simonpj authored
Add a note about pattern-matching with -fno-implicit-prelude
-
simonmar authored
Add a comment to note that Stg.h must be included before system headers (this was always the case, but is now more important because it is often necessary to #include system headers where it wasn't previously).
-
- 21 Jul, 2002 1 commit
-
-
panne authored
Long explanation for small commit: With the recent reorganization of #includes, things get a little bit fragile: When gcc with -O is used, glibc's <stdio.h> defines a few inline functions (see <bits/stdio.h>), and "Stg.h" defines some global variables which reside in registers. But the latter must happen *before* any function definition has been seen, otherwise the generated code could be invalid. Consequently gcc complains like: In file included from Stg.h:182, from mkNativeHdr.c:12: Regs.h:293: global register variable follows a function definition Regs.h:302: global register variable follows a function definition The solution is quite simple: Always #include "Stg.h" *before* any system headers.
-
- 20 Jul, 2002 1 commit
-
-
dons authored
OpenBSD needs #include <sys/types.h> for msghdr compile tests.
-
- 19 Jul, 2002 5 commits
-
-
sof authored
forkProcess(): be less ambitious, and don't kill any main_threads. Killing them, and possibly replacing them on the main_threads with the current one, turned out to run into problems of its own (see comments.) The hope/wish is that the current behaviour of forkProcess will suffice.
-
simonmar authored
Remove the check for >4 args when doing a foreign import "wrapper" on Sparc: we support unlimited arguments now (from Sven Panne).
-
simonmar authored
Code to make the general case of createAdjustor() work on Sparc, from Sven Panne. Previously only 4 args were supported.
-
simonmar authored
Sparc NCG fix from Sven Panne: 8-byte align the stack ptr when doing a ccall.
-
sof authored
forkProcess(): - fix bug which left run_queue_tl in a bad state. - be better behaved wrt 'main threads', i.e., if the killing thread isn't the main thread, make sure it's hooked up to main_threads + correctly signal the completion/killing of any main threads.
-
- 18 Jul, 2002 5 commits
-
-
lewie authored
%files for the profiling rpm was missing .p_hi files that were nested deeply. Fixed by calculating %files for prof rpm similar to how it is calculated for the main rpm.
-
simonmar authored
Back off from including the interface file version in the module init label - we might not recompile modules which depend on the current one, even if its version changes. Thanks to Sigbjorn for pointing this out. We still include the way, however, so we'll still catch cases of linking modules compiled in different ways.
-
simonmar authored
Remove a bogus test
-
simonmar authored
#include wibbles
-
simonmar authored
cosmetic only
-