[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[MiNT] gcc4 vs gcc2 crash "test case"
Hi,
I managed to test some behaviour about that gcc2 vs gcc4
compatibility. Here is guide, how to get memory violation:
- download http://mikro.atari.org/quake-src.tar.gz
- download http://files.dhs.nu/files_game/quakedem.zip
- unpack atari-quake somewhere, unpack quakedem.zip in that directory
(i.e. you need to have atari-quake/id1/pak0.pak -- case sensitive!)
- compile&install mintlib against gcc2 (you need that headers.patch
for some constants)
- I assume you have gcc4 installed already (in /usr/local)
- go to quake source directory, type "make build_release"
..
..
this will take some time. when everything ok, you can type
"./quake.ttp". if you installed quake demo ok, you should see some
loading messages (I disabled screen and keyboard inits)... but after
some while you should get memory violation with pretty strange address
(0x40000000 or so). "Funny" thing is it happens only with release
version (-O3 flag). You can end quake by ctrl+c (safely).
it should work also in aranym, i can't test it now. i made this guide
especially for vincent, he is in my eyes the most competent person to
find what's wrong, i'm out of game totally ;-)
--
MiKRO / Mystic Bytes
http://mikro.atari.org