View Full Version : SDL with newlib KOS and GCC 3.4.X
October 16th, 2004, 03:39
Anyone get it to work? I might have patched it wrong?
I rebuilt SDL_mixer, SDL_image, and SDL with all known patches. But now I have some weird problems. I had to reduce the screen from 32 bit to 16 bit and use software and not hardware rendering. and the controller is all messed up, directions are reversed and no sound.
I was able to get SDL_mixer to play mod files in another program.
Unfortunetly, I can only test with Chankast right now, so that might be the problem also. But somethings were working before so I don't know if its SDL or changes to KOS that broke SDL.
October 16th, 2004, 04:46
i still cant get newlib/kos-svn to work right at all =( as soon as i do ill try testing for you.
October 16th, 2004, 08:56
If you are building the toolchain using Jim's Makefile, just remove the 'patch_kos' thing from the Makefile (latest versions of kos are already patched and the build does not work if you don't remove it)
i've also tested some kos examples and seems everything it's ok ;)
October 16th, 2004, 09:30
yeah most of the KOS examples work fine. Just running into some issues with SDL. Just wanted to see if anyone else had patched SDL and if it worked for them.
Quzar, are you using the toolchain script from Jim Ursetto at http://3e8.org/hacks/dc/dc-chain-0.1.tgz ?
I couldn't get GCC to build under Mingw/msys that easy and I can't get any examples to work. But under Cygwin the script was flawless, I started it, went out to lunch and came back it was done.
If I can compress it down, I'll post it somewhere next week.(its on my work computer).
There used to be a thread on consolvision, that blackaura wrote describing the process he used to shrink the gcc 3.0.4 toolchain, but it appears that since the cv forum changeover , a lot of the dev post are gone.
October 16th, 2004, 10:07
I used this one:
# Toolchain builder for Dreamcast development
# By BlackAura, May 30th 2003
# Compiler setup based on Hangar Eleven's Cygwin tutorial
# MinGW patches based on Lawrence Sebald's MinGW build script
October 16th, 2004, 11:39
For me it works 100%
GPF check your PM board :)
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.