[Prev][Next][Index][Thread]

d2c on Macintosh (help!)



Hi.

I have a c-code version of d2c that quite happily compiles the hello-world,
streams-demo and craps demos from the Gwydion Dylan distribution.
The only problem is that if I try to compile the dylan or base libraries (in
an attempt to bootstrap fully), it crashes. It crashes seemingly randomly,
and so badly that I'm lucky if I can get a MACSbug log.

The logs I have got indicate something is badly wrong with the memory header
block for the d2c application zone. The garbage collector demo works fine,
and I'm using Patrick Beard's latest port of the Boehm GC so if it's a GC
problem, it's 99.99% certain it's something I'm doing. The only other
candidates are my text stream code hack, although I don't see how this could
be the problem, the amount of time d2c might go without calling SystemTask
(or friends) and CodeWarrior Pro 5 itself(I don't own 4, although I'm about
to try the MrC plug-in).

Anyone who can help, please get in touch. I need people who aren't afraid of
MACSBug. :-) I can bundle up source code if needed (c generated by a Mindy
bytecode version of d2c), although advice and suggestions will be gratefully
received.

- Rob.




Follow-Ups: