Antony Bowers <[EMAIL PROTECTED]> writes:

> Does ghc (any version) work on Linux with glibc-2 (libc6)?

It works for me.

I installed the 2.10 binary release and used it to compile 3.01 from
source; both 2.10 (which is linked with libc5) and 3.01 (which is
linked with libc6) can compile the following simple program:

> main = putStr "Hello, world!\n"

to get a result which is linked with libc6 and works correctly.

I'm using gcc 2.7.2.3 and a version of libc6 which claims to be GNU
libc 2.0.7pre1; I'm working on a Debian system which is running a
fairly current version of the soon-to-be-released Debian 2.0.

(I had a little bit of trouble getting GHC itself to compile under
libc6; I'm working with Simon Marlow to get ghc-current to compile.)

Carl Witty
[EMAIL PROTECTED]

Reply via email to