RE: Glasgow Haskell on different versions of Linux

2004-06-14 Thread Simon Marlow
On 09 June 2004 20:09, Christian Maeder wrote: I wrote: since version 6.2 we have 2 binary distributions for (generic) linux: for glibc 2.2 and glibc 2.3 Maybe this is no longer necessary. I've produced an installation (under glibc 2.2) that runs under glibc 2.2 and glibc 2.3. I've now

Re: Glasgow Haskell on different versions of Linux

2004-06-09 Thread Volker Stolz
In local.glasgow-haskell-users, you wrote: Christian Maeder wrote: What is ctype.h good for? A good question. Its only use seems to be in ghc/rts/RtsFlags.c where it is used for functions like isdigit and isspace for decoding the RTS flags. Maybe it should be retired altogether. I'm

Re: Glasgow Haskell on different versions of Linux

2004-06-09 Thread Glynn Clements
Volker Stolz wrote: What is ctype.h good for? A good question. Its only use seems to be in ghc/rts/RtsFlags.c where it is used for functions like isdigit and isspace for decoding the RTS flags. Maybe it should be retired altogether. I'm rather puzzled how this works if ctype.h

Re: Glasgow Haskell on different versions of Linux

2004-06-09 Thread George Russell
Volker Stolz wrote (snipped): The functions are C89, so they should be present *somewhere* in libc anywhere. Yes, you're right. Normally isspace and friends are used as macros, but ANSI C requires them to be also available as functions so they must be exported that way. Therefore if you don't

Re: Glasgow Haskell on different versions of Linux

2004-06-09 Thread Christian Maeder
I wrote: since version 6.2 we have 2 binary distributions for (generic) linux: for glibc 2.2 and glibc 2.3 Maybe this is no longer necessary. I've produced an installation (under glibc 2.2) that runs under glibc 2.2 and glibc 2.3. I've now also successfully installed ghc-6.2.1 from source under

Re: Glasgow Haskell on different versions of Linux

2004-06-08 Thread Bennett Todd
2004-06-08T14:17:22 Christian Maeder: since version 6.2 we have 2 binary distributions for (generic) linux: for glibc 2.2 and glibc 2.3 If it were possible to construct and ship a statically-linked ghc, that might be ideal; it should be portable across a wide range of Linuxes, regardless of

Re: Glasgow Haskell on different versions of Linux

2004-06-08 Thread Christian Maeder
Christian Maeder wrote: since version 6.2 we have 2 binary distributions for (generic) linux: for glibc 2.2 and glibc 2.3 Maybe this is no longer necessary. I've produced an installation (under glibc 2.2) that runs under glibc 2.2 and glibc 2.3. As also Volker Stolz suggested I've changed, after

Re: Glasgow Haskell on different versions of Linux

2004-06-08 Thread George Russell
Christian Maeder wrote: What is ctype.h good for? A good question. Its only use seems to be in ghc/rts/RtsFlags.c where it is used for functions like isdigit and isspace for decoding the RTS flags. Maybe it should be retired altogether. I'm rather puzzled how this works if ctype.h isn't there at