Re: building 5.04.3 on sparc-solaris-2.6

2003-03-19 Thread Michael Weber
* Malcolm Wallace <[EMAIL PROTECTED]> [2003-03-19T14:33+]: > Anyway, I changed mk/config.h to add > #define HAVE_ALTZONE > #define HAVE_TIMEZONE > and received the same error. I will now `make clean' and rebuild from scratch, > to see if it makes any difference. You may have to copy (

Re: building 5.04.3 on sparc-solaris-2.6

2003-03-19 Thread Malcolm Wallace
> > _ccall_result = (timezone()); /* line 10508 */ > > What does mk/config.h say about HAVE_ALTZONE? On a Solaris 8 box I'm > looking at it says HAVE_ALTZONE is defined. $ grep ZONE mk/config.h /* #undef HAVE_ALTZONE */ /* #undef HAVE_TIMEZONE */ #define TYPE_TIMEZO

RE: building 5.04.3 on sparc-solaris-2.6

2003-03-19 Thread Simon Marlow
> >> I'm trying to build ghc-5.04.3 from source on a sparc-solaris-2.6 > >> machine, using 5.02.3. It throws up the following build error. > >> Any ideas what might be going wrong? > > >> /tmp/ghc11170.hc: In function `SystemziTime_zdLrpHVeta_entry': > >> /tmp/ghc11170.hc:10508: called object is

Re: building 5.04.3 on sparc-solaris-2.6

2003-03-19 Thread Malcolm Wallace
>> I'm trying to build ghc-5.04.3 from source on a sparc-solaris-2.6 >> machine, using 5.02.3. It throws up the following build error. >> Any ideas what might be going wrong? >> /tmp/ghc11170.hc: In function `SystemziTime_zdLrpHVeta_entry': >> /tmp/ghc11170.hc:10508: called object is not a functi

RE: floating point literals

2003-03-19 Thread Simon Marlow
> Simon Marlow wrote: > > > > On Mon, Mar 17, 2003 at 10:33:47AM +, Ross Paterson wrote: > > > > GHC doesn't recognize literals like 9e2, and nor does lex. > > > > > > Correction: > > > GHC doesn't recognize 9e2 > > > lex is confused by 0xy, 0oy, 9e+y and 9.0e+y > > > > Fixed GHC, I'll leave