Jump to content



Photo
- - - - -

Add-In Programming, 100% On Linux

linux add-in gcc toolchain

  • Please log in to reply
10 replies to this topic

#1 Anonymouse

Anonymouse

    Casio Addict

  • Members
  • PipPipPip
  • 58 posts
  • Gender:Male

  • Calculators:
    CASIO Graph 75

Posted 27 December 2012 - 12:31 AM

So! I've managed, at long last, to compile a cross-toolchain for the SH3 architecture, and to compile the standard C library from http://fxsdk.sourceforge.net/ using it. Now all I need to know is what needs to go into a G1A after the header and what further processing needs to be done. Does anyone know about this? I'm hoping ld can do most of the "further processing"... I've also emailed the guy who wrote https://github.com/K...a/C-G1A-Wrapper this little program with much the same question.

#2 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 27 December 2012 - 02:28 AM

This guy may know as well: LothardotSimonatsimon-dudotde

#3 Anonymouse

Anonymouse

    Casio Addict

  • Members
  • PipPipPip
  • 58 posts
  • Gender:Male

  • Calculators:
    CASIO Graph 75

Posted 27 December 2012 - 12:21 PM

http://sourceforge.n...k/wiki/UsingGCC Hallelujah. I do believe I've nearly got it! If I succeed I'll make a tutorial.

#4 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 27 December 2012 - 03:07 PM

Oh, please do. I've been trying to do it for quite a while.

Oh, and by the way, what distro are you doing it on?

#5 Anonymouse

Anonymouse

    Casio Addict

  • Members
  • PipPipPip
  • 58 posts
  • Gender:Male

  • Calculators:
    CASIO Graph 75

Posted 27 December 2012 - 03:15 PM

Ubuntu. But it should work on any distro in theory.

EDIT: And I'll be switching back to debian soon so I'll get it working on debian too.

Edited by Anonymouse, 27 December 2012 - 03:16 PM.


#6 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 27 December 2012 - 03:38 PM

OK, sounds good. Yeah, I know it will work on any distro, but things may have to be tweaked.

#7 Anonymouse

Anonymouse

    Casio Addict

  • Members
  • PipPipPip
  • 58 posts
  • Gender:Male

  • Calculators:
    CASIO Graph 75

Posted 29 December 2012 - 02:16 PM

IT WOOOOOOOOOOORKS!

Ok. I'll be making a tutorial soon... yayayayay

#8 hayzel

hayzel

    Newbie

  • Members
  • Pip
  • 10 posts

Posted 10 January 2013 - 09:35 AM

I have managed to compile binutils and gcc for sh3eb-elf many months ago.
The thing is that we need also a math library, a stdlib, new /delete/malloc operators and ofcourse fx specific commands.
I still cannot understand how to wrap up those things all together to produce an addin.

I am glad you managed to run an addin with gcc toolchain.
A tutorial for a full blown addin compilation in gcc, would be great if you managed such thing.

#9 Anonymouse

Anonymouse

    Casio Addict

  • Members
  • PipPipPip
  • 58 posts
  • Gender:Male

  • Calculators:
    CASIO Graph 75

Posted 15 January 2013 - 10:09 PM

I have managed to compile binutils and gcc for sh3eb-elf many months ago.
The thing is that we need also a math library, a stdlib, new /delete/malloc operators and ofcourse fx specific commands.
I still cannot understand how to wrap up those things all together to produce an addin.

I am glad you managed to run an addin with gcc toolchain.
A tutorial for a full blown addin compilation in gcc, would be great if you managed such thing.

I will write one eventually, but for now I'm busy (very busy) with school.

#10 Anonymouse

Anonymouse

    Casio Addict

  • Members
  • PipPipPip
  • 58 posts
  • Gender:Male

  • Calculators:
    CASIO Graph 75

Posted 11 September 2013 - 06:55 PM

Well I've got it mostly done after a long time... But it turns out that the library I was using is incomplete and inefficient. I've contacted someone who helped me previously but I haven't heard back from him and my hopes are shrinking. I'll update here if I do hear from him, but for now I'll give you an incomplete tutorial: https://github.com/A...-a-complete-SDK

#11 flyingfisch

flyingfisch

    Casio Maniac

  • Deputy
  • PipPipPipPipPipPipPipPip
  • 1891 posts
  • Gender:Male
  • Location:OH,USA
  • Interests:Aviation, Skiing, Programming, Mountain Biking.

  • Calculators:
    fx-9860GII
    fx-CG10 PRIZM

Posted 11 September 2013 - 08:32 PM

looks great :)





Also tagged with one or more of these keywords: linux, add-in, gcc, toolchain

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users