Omnimaga

Omnimaga => News => Topic started by: JonimusPrime on November 25, 2011, 01:24:56 am

Title: GCC PrizmSDK v0.3!
Post by: JonimusPrime 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)
Title: Re: GCC PrizmSDK v0.3!
Post by: DJ Omnimaga 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
Title: Re: GCC PrizmSDK v0.3!
Post by: Munchor 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!
Title: Re: GCC PrizmSDK v0.3!
Post by: JonimusPrime 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.
Title: Re: GCC PrizmSDK v0.3!
Post by: annoyingcalc on November 25, 2011, 11:48:58 pm
are you TheStorm?
Title: Re: GCC PrizmSDK v0.3!
Post by: z80man 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
Title: Re: GCC PrizmSDK v0.3!
Post by: TIfanx1999 on November 26, 2011, 08:52:03 pm
@annoying calc: Yes, same person.
Title: Re: GCC PrizmSDK v0.3!
Post by: Munchor 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.
Title: Re: GCC PrizmSDK v0.3!
Post by: JosJuice 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.
Title: Re: GCC PrizmSDK v0.3!
Post by: JonimusPrime 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.
Title: Re: GCC PrizmSDK v0.3!
Post by: DJ Omnimaga on November 27, 2011, 03:34:47 pm
are you TheStorm?
Yeah he is. Sometimes Jonius7 is confused with him x.x
Title: Re: GCC PrizmSDK v0.3!
Post by: annoyingcalc on November 27, 2011, 03:41:20 pm
why was TheStorm banned?
Title: Re: GCC PrizmSDK v0.3!
Post by: DJ Omnimaga 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