> In <637...@hppcmart.HP.COM> mar...@hppcmart.HP.COM (Martin Croome) writes:
>
> >in article <LIBOVE.90S...@libove.det.dec.com> lib...@libove.det.dec.com (Jay Libove) writes:
> >>Which compiler are you using? Have you tried the
> >>other one? I vaguely recall that I compiled it with rcc -UM_UNIX -DM_XENIX.
>
> >Firstly, thank you to everyone who has replied. I am using GCC and I'm still
> >having the problem. I sucessfully compiled the source I have for MS-DOS (the
> >overlay version). My only ideas are either a compiler bug or a library bug.
>
> >The only problem I came across when compiling the source was a clash with the
> >obj type in sys/types.h. I commentted this out. Somehow the save file is just
> >not in the format that the restore expects to find. What am I doing wrong!
>
> >Does someone remember the exact sequence of steps they went through to get it
> >to compile with GCC?
>
> I thought I responded to this one once - did it not get out ??
> If you compile nethack3.0 on a 386 with gcc you *MUST* turn off
> optimisation on the file containing the save/restore functions. I did
> not look into why this is, looks like an obscure gcc bug. I might take
> a look if/when I get time !
Sorry Tim, I don't have optimisation switched on at all. I decided that it might
be a problem with that and got rid of it.
>
> Tim
> --
> Tim Wright, Dell Computer Corp. (UK) | Email address
> Dell Computer Corp. (UK), Bracknell | Domain: t...@dell.co.uk
> Tel: +44-344-860456 | Uucp: ...!ukc!delluk!tim
> "What's the problem? You've got an IQ of six thousand, haven't you?"
> ----------
-------------------------------------------------------------------------------
Martin CROOME !'s - hplabs!hpgnd!hppcmart!martin
Hewlett Packard @'s - mar...@hppcmart.grenoble.hp.com
Grenoble Personal Computer Division HPDesk - Martin CROOME / HP6300/K1
Technical Mktg - Online Support or martin...@hp6300.desk.hp.com
-------------------------------------------------------------------------------