On Tue, Dec 01, 1998 at 12:01:20AM -0800, Sigbjorn Finne (Intl Vendor) wrote:
> Instead of the relevant #error in includes/StgTypes.h,
> try inserting
>
> typedef unsigned long StgNat64;
> typedef signed long StgInt64;
>
> and have another go..
Actually, its in the long long support, but after tweaking that into
place, at least under Digital Unix, I get a new error:
gcc -c mkNativeHdr.c -o mkNativeHdr.o
In file included from Stg.h:29,
from mkNativeHdr.c:10:
StgTypes.h:64: conflicting types for `StgNat64'
StgTypes.h:56: previous declaration of `StgNat64'
StgTypes.h:65: conflicting types for `StgInt64'
StgTypes.h:55: previous declaration of `StgInt64'
In file included from Stg.h:44,
from mkNativeHdr.c:10:
Regs.h:137: warning: call-clobbered register used for global register
variable
Regs.h:143: warning: call-clobbered register used for global register
variable
Regs.h:149: warning: call-clobbered register used for global register
variable
Regs.h:155: warning: call-clobbered register used for global register
variable
Regs.h:161: warning: call-clobbered register used for global register
variable
Regs.h:167: warning: call-clobbered register used for global register
variable
Regs.h:173: warning: call-clobbered register used for global register
variable
In file included from Stg.h:45,
from mkNativeHdr.c:10:
TailCalls.h:77: warning: call-clobbered register used for global
register variable
gmake[2]: *** [mkNativeHdr.o] Error 1
gmake[1]: *** [boot] Error 1
gmake: *** [boot] Error 1
I note that in the section just before it, StgNat64 and StgInt64 are
used to define longs ... That probably explains the confliction. The
question in my mind is the best way to resolve the intersection.
--
Alexander Williams ([EMAIL PROTECTED])
Sometimes you bleed just to know you're alive.
====================================================================
"Robert Smith is a gorgeous man, better than myself in nearly every
way, I think. Chiseled from Florentine marble, smart as a whip,
rich as Croesus, strong as a bear, the ladies love him. Me?
Chiseled from sourdough batter, smart as a rod puppet, strong as a
gopher, rich as a novelty salesman, the ladies whisper amongst
themselves 'Who is that icky guy?' Still, I have ... oh, who am I
kidding? There's nothing to mitigate it."