Using our "old" GHC-4.01 with the libc6-based SuSE 6.0 Linux
distribution made some trouble. In contrast to their web pages,
SuSE Linux 6.0 uses egcs-2.91.60 instead of gcc-2.7.2.3. But using
egcs as the C compiler for ghc does not work on Linux, some binaries
work, others core dump. This can be cured by the following ghc option:
-optc-B/usr/lib/gcc-lib/i486-linux/2.7.2.3/
Note: The trailing slash *is* important.
The other problem is a missing "extern" in fptools/ghc/rts/Storage.h:
120c120
< StgCAF* enteredCAFs;
---
> extern StgCAF* enteredCAFs;
The new linker seems to be more pedantic and complains about "multiple
common of `enteredCAFs'" without the extern attribute.
And a question about the CVS repository: The new-rts branch seems to
be merged back to the main branch, so checking out the main branch
should give me the sources for the upcoming 4.02. Correct?
Cheers,
Sven
--
Sven Panne Tel.: +49/89/2178-2235
LMU, Institut fuer Informatik FAX : +49/89/2178-2211
LFE Programmier- und Modellierungssprachen Oettingenstr. 67
mailto:[EMAIL PROTECTED] D-80538 Muenchen
http://www.pms.informatik.uni-muenchen.de/mitarbeiter/panne