RE: GHC-6.4.1 on FreeBSD-amd64 still not ported

2005-10-13 Thread Simon Marlow
On 12 October 2005 17:34, Wilhelm B. Kloke wrote:

 Simon Marlow [EMAIL PROTECTED] schrieb:

 Just doing 'make -k' in ghc/rts should leave all the .hc files
 behind, because you already have the -keep-hc-files flag in your
 command line, so GHC won't delete the intermediate .hc files even
 when the subsequent compilation stage fails.
 
 This doesn't work. The commands don't leve a .hc file behind, even
 with make -k. 

My apologies: the failure was happening before generation of the .hc
file.  The error is generated by this in Cmm.h:

#if SIZEOF_mp_limb_t != SIZEOF_VOID_P
#error mp_limb_t != StgWord: assumptions in PrimOps.cmm are now false
#endif

SIZEOF_mp_limb_t comes from DerivedConstants.h, and SIZEOF_VOID_P comes
from ghcautoconf.h (both in ghc/includes).  Both of these files should
be from the target system for a cross-compile; I strongly suspect that
one of them has been overwritten by the host version in your tree.

Sorry that this process is somewhat flaky; we've never got around to
making the build system really do cross-compilation properly, and the
fact that it usually only needs to be done once for any given platform
means there isn't a lot of motivation to do the work.

Cheers,
Simon
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


Re: Default name of target executable

2005-10-13 Thread Tomasz Zielonka
On 10/11/05, Tomasz Zielonka [EMAIL PROTECTED] wrote:
 On 10/11/05, Simon Marlow [EMAIL PROTECTED] wrote:
  Ok, let's close this bikeshed. Someone want to send us a patch?

 I will try to do this

On which branch of GHC should I be working?
There are some differences between HEAD and STABLE
in the relevant areas.

Best regards
Tomasz
___
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users