Results 1 to 6 of 6

Thread: SDL with newlib KOS and GCC 3.4.X

                  
   
  1. #1
    DCEmu Coder GPF's Avatar
    Join Date
    Apr 2004
    Location
    Texas
    Age
    52
    Posts
    796
    Rep Power
    78

    Default SDL with newlib KOS and GCC 3.4.X

    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.

    Thanks

  2. #2
    Dream Coder
    Join Date
    Apr 2004
    Location
    Miami, FL
    Age
    37
    Posts
    4,675
    Rep Power
    50

    Default Re: SDL with newlib KOS and GCC 3.4.X

    i still cant get newlib/kos-svn to work right at all =( as soon as i do ill try testing for you.
    If anyone is looking to buy, sell, trade games and support a developer directly at the same time, consider joining Goozex. Enjoy!

  3. #3

    Default Re: SDL with newlib KOS and GCC 3.4.X

    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
    cheers

  4. #4
    DCEmu Coder GPF's Avatar
    Join Date
    Apr 2004
    Location
    Texas
    Age
    52
    Posts
    796
    Rep Power
    78

    Default Re: SDL with newlib KOS and GCC 3.4.X

    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.


    Troy

  5. #5
    Dream Coder
    Join Date
    Apr 2004
    Location
    Miami, FL
    Age
    37
    Posts
    4,675
    Rep Power
    50

    Default Re: SDL with newlib KOS and GCC 3.4.X

    I used this one:

    Code:
    #! /bin/sh
    #
    # dc_build.sh
    # Toolchain builder for Dreamcast development
    #
    # By BlackAura, May 30th 2003
    # [email protected]
    #
    # Compiler setup based on Hangar Eleven's Cygwin tutorial
    # http://www.hangar-eleven.de/en/devdc-gcc-cygwin.html
    #
    # MinGW patches based on Lawrence Sebald's MinGW build script
    # http://ljsdcdev.sunsite.dk/
    #
    If anyone is looking to buy, sell, trade games and support a developer directly at the same time, consider joining Goozex. Enjoy!

  6. #6
    DCEmu Coder
    Join Date
    Apr 2004
    Location
    Portugal
    Age
    46
    Posts
    93
    Rep Power
    0

    Default Re: SDL with newlib KOS and GCC 3.4.X

    Hi

    For me it works 100%

    GPF check your PM board

    -Mekanaizer-
    &&
    Don't dream, play DreamCast!!!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •