Author Topic: GCC PrizmSDK v0.3!  (Read 6036 times)

0 Members and 1 Guest are viewing this topic.

Offline JonimusPrime

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 389
  • Rating: +25/-5
    • View Profile
    • Jonimoose.net
GCC PrizmSDK v0.3!
« on: November 25, 2011, 01:24:56 am »
Crossposted from cemetech http://www.cemetech.net/forum/viewtopic.php?p=169318#169318 and my blog http://jonimoose.net
I will try to check here for replies but ones at those places will be seen first as I check there more often.

So after a long overdue major overhaul of the makefiles and some additions to libfxcg I am ready to release PrizmSDK v0.3. The biggest improvement is to the makefiles and build system and it puts me one step closer to a much cleaner setup. Most of the changes are based on the makefiles used by DevkitPro and I plan to move to an installer based system similar to theirs in the future as well.

The most obvious changes visible to the user is the new project directory layout. It is now much cleaner and uses a convenient project layout with specific folders for source files and temp object and such. All the configuration is still in the Makefile in the project directory, which has been cleaned up and commented. All of the dirty work was moved to a separate Makefile in the common folder of the SDK and the project directory shall now house only projects. The end goal is to allow the project directory to lie anyway and have environment variables for where the SDK lies. In the process I also made the makefiles much more cross platform safe though it might still need more tweaking to get just right.

I still wish to clean up the headers quite a bit more and move to just one header for all the syscalls and have that header include the extra headers with the core typedefs. There is no reason to have the headers split up as they are and I intend to clean that up with the next SDK update, if I don’t sneak it into this one. (if you notice filemodtimes change, this would be why)

The next big step will be to include an installer which can optionally grab msys instead of me having to include chunks of msys and cygwin for make and friends to function properly for people without them installed.

Please respond with any bugs or issues and I will address them as soon as possible. With how long it took me to do this release I’m sure I forgot something or made a typo somewhere and the only way I can fix it is if I know about it.

Download links:
xz: http://jonimoose.net/calcstuff/prizm/PrizmSDK-0.3.tar.xz (11M)
gz: http://jonimoose.net/calcstuff/prizm/PrizmSDK-0.3.tar.gz (42M)
zip: http://jonimoose.net/calcstuff/prizm/PrizmSDK-0.3.zip (44M)

"Always code as if the person who will maintain your code is a maniac serial killer that knows where you live" -Unknown

"If you've done something right no one will know that you've done anything at all" -Futurama

"Have a nice day, or not, the choice is yours." Tom Steiner

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: GCC PrizmSDK v0.3!
« Reply #1 on: November 25, 2011, 04:36:44 pm »
Cool, glad to see updates on PRIZM tools :D

Now for z80man to work on his emulator and announce it... the one by Casio is still not available for sale so after 90 days you're screwed. X.x
« Last Edit: November 25, 2011, 04:37:06 pm by DJ_O »

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: GCC PrizmSDK v0.3!
« Reply #2 on: November 25, 2011, 05:04:08 pm »
Yes, PRIZM tools! I remember when I wanted to start PRIZM Development and getting the tools for Linux was really hard. Hope this makes it easier!

Offline JonimusPrime

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 389
  • Rating: +25/-5
    • View Profile
    • Jonimoose.net
Re: GCC PrizmSDK v0.3!
« Reply #3 on: November 25, 2011, 10:30:17 pm »
ephan, if you want to get my tools going under Linux just message me on IRC and I will get you started. I should really just make an automated script for it but its not to hard to do yourself.

"Always code as if the person who will maintain your code is a maniac serial killer that knows where you live" -Unknown

"If you've done something right no one will know that you've done anything at all" -Futurama

"Have a nice day, or not, the choice is yours." Tom Steiner

Offline annoyingcalc

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1953
  • Rating: +140/-72
  • Found in Eclipse.exe
    • View Profile
Re: GCC PrizmSDK v0.3!
« Reply #4 on: November 25, 2011, 11:48:58 pm »
are you TheStorm?
This used to contain a signature.

Offline z80man

  • Casio Traitor
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 977
  • Rating: +85/-3
    • View Profile
Re: GCC PrizmSDK v0.3!
« Reply #5 on: November 26, 2011, 01:57:38 am »
Linux dev is actually quite simple to do as long as you have wine running. What I''ve done is replace the .bat scripts with compatible bash .sh scripts that do the exact same thing. That way I can still use make.exe and the makefile to compile and link my code into apps

List of stuff I need to do before September:
1. Finish the Emulator of the Casio Prizm (in active development)
2. Finish the the SH3 asm IDE/assembler/linker program (in active development)
3. Create a partial Java virtual machine  for the Prizm (not started)
4. Create Axe for the Prizm with an Axe legacy mode (in planning phase)
5. Develop a large set of C and asm libraries for the Prizm (some progress)
6. Create an emulator of the 83+ for the Prizm (not started)
7. Create a well polished game that showcases the ability of the Casio Prizm (not started)

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: GCC PrizmSDK v0.3!
« Reply #6 on: November 26, 2011, 08:52:03 pm »
@annoying calc: Yes, same person.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: GCC PrizmSDK v0.3!
« Reply #7 on: November 27, 2011, 12:26:06 pm »
We really need Wine? That's quite bad. I don't even have Wine installed, I never had to use it.

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: GCC PrizmSDK v0.3!
« Reply #8 on: November 27, 2011, 12:28:18 pm »
We really need Wine? That's quite bad. I don't even have Wine installed, I never had to use it.
The normal way is to compile from source. Running the Windows binaries using Wine is simply another way to do it.

Offline JonimusPrime

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 389
  • Rating: +25/-5
    • View Profile
    • Jonimoose.net
Re: GCC PrizmSDK v0.3!
« Reply #9 on: November 27, 2011, 03:01:57 pm »
Yes the normal and sane way is to compile binutils and gcc from source, I used http://wiki.osdev.org/GCC_Cross-Compiler#Step_1_-_Bootstrap as my base changing the target to sh3eb-elf, from there the current setup will work without much work as long as you put the compiled tools in your $PATH. I plan to simplify this in the future but as windows users are more common and I am nowhere near done I have aimed at supporting them more. The setup used in v0.3 is much cleaner than the older releases and should be much easier to use on other platforms.

"Always code as if the person who will maintain your code is a maniac serial killer that knows where you live" -Unknown

"If you've done something right no one will know that you've done anything at all" -Futurama

"Have a nice day, or not, the choice is yours." Tom Steiner

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: GCC PrizmSDK v0.3!
« Reply #10 on: November 27, 2011, 03:34:47 pm »
are you TheStorm?
Yeah he is. Sometimes Jonius7 is confused with him x.x

Offline annoyingcalc

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1953
  • Rating: +140/-72
  • Found in Eclipse.exe
    • View Profile
Re: GCC PrizmSDK v0.3!
« Reply #11 on: November 27, 2011, 03:41:20 pm »
why was TheStorm banned?
This used to contain a signature.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: GCC PrizmSDK v0.3!
« Reply #12 on: November 30, 2011, 11:41:41 pm »
I don't think this is really the topic for that annoyingcalc. It was mainly for starting fights with me but this was solved a while later. Actually the ban was removed almost 2 years ago. Note this ban was prior the rating system, though, so back then it didn't take as much to get banned. :P

Anyway we should probably get back on topic now :P
« Last Edit: November 30, 2011, 11:42:00 pm by DJ_O »