Subject: Re: ghc in netbsd
To: Witold Wnuk <>
From: Julian Assange <>
List: tech-pkg
Date: 05/19/2000 15:11:22
I wrote the package using a.out, for which it seems to work. I don't have
an i386 netbsd elf system, so unfortunately I'm unable to test your
recomendations, but feel free to submit a patch.

Witold Wnuk <> writes:

> Hi!
> GHC in our pkg system does not work on NetBSD-current. The problem is that
> we now use egcs which seems to use ".word" not ".value" to represent 16bit
> data.
> fptools/ghc/driver/ghc-asm relies on ".value" being used on netbsd_elf.
> Adding ".word" to T_DOT_WORD will fix the problem.
> (I always though that egcs is used on Linux often too, but ghc-4.06 still
> doesn't recognize ".word" - strange)
> (btw, 4.06 doesn't seem to compile from C without hacks - hsc depends on
> libHSlang.a which is compiled after hsc) 
> Greetings,
> 	Witold J. Wnuk