I installed ghc-4.08 into my FreeBSD 4.0-STABLE box
using FreeBSD ports (from freebsd-ports ML).
A compiler was build successfully, however,
an annoying message is shown every time when using it.
---
% ghc -O Main.hs
Couldn't grok consistency: ghc_cc_ID:
.string "@(#)cc Main.hs\t36.1,,"
Couldn't grok consistency: ghc_hsc_ID:
.string "@(#)hsc Main.hs\t40.0,,"
---
It may cause this program that relation between ghc/driver/ghc-asm.lprl
and gcc version on FreeBSD. In FreeBSD 3.X, gcc is version 2.7.2,
but after FreeBSD 4.0-RELEASE (more accurately, from __FreeBSD_version
400012) gcc was updated to 2.95.2.
So, I made patch files. In these patches, OS version must be used
to switch $T_hsc_cc_PAT pattern. I used a $HostOS_Full variable
to infer OS version, but it seems not so elegant. Is there a good idea ?
Please merge it to freebsd ports and cvs repository.
Yoshiyuki ONOUE ([EMAIL PROTECTED])
Dept. of Info. Eng., Sch. of Eng., Univ. of Tokyo
patch-aa
patch-ab
patch-ac