Cross Compiling

GFA, ASM, STOS, ...

Moderators: simonsunnyboy, Mug UK, Zorro 2, Moderator Team

User avatar
giachi11
Atari freak
Atari freak
Posts: 61
Joined: Sun Jun 11, 2006 1:50 pm

Cross Compiling

Postby giachi11 » Mon Aug 06, 2007 10:01 am

Hi,

Is there any gcc version (and the related libc) that can compile directly for the st? For "directly for the st", i mean directly for TOS, not for Mint or any other kind of systems.

thanks

User avatar
simonsunnyboy
Moderator
Moderator
Posts: 5067
Joined: Wed Oct 23, 2002 4:36 pm
Location: Friedrichshafen, Germany
Contact:

Postby simonsunnyboy » Mon Aug 06, 2007 10:52 am

Probably not as you would need to rewrite the bindings. But a crosscompiler for Mint should work aswell. Mint offers all OS functions that TOS has. So as long as you limit yourself to ST class GEMDOS, XBIOS and BIOS calls there should be no problem. And you can bang the hw directly if desired as well.
Simon Sunnyboy/Paradize - http://paradize.atari.org/

Stay cool, stay Atari!

1x2600jr, 1x1040STFm, 1x1040STE 4MB+TOS2.06+SatanDisk, 1xF030 14MB+FPU+NetUS-Bee

User avatar
giachi11
Atari freak
Atari freak
Posts: 61
Joined: Sun Jun 11, 2006 1:50 pm

Postby giachi11 » Tue Aug 07, 2007 9:44 am

ok, thanks for the advice

User avatar
mouse_master
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 131
Joined: Tue Jun 17, 2003 7:24 pm

Re: Cross Compiling

Postby mouse_master » Tue Aug 07, 2007 5:40 pm

giachi11 wrote:Hi,

Is there any gcc version (and the related libc) that can compile directly for the st? For "directly for the st", i mean directly for TOS, not for Mint or any other kind of systems.

thanks


http://vincent.riviere.free.fr/soft/m68k-atari-mint/

Mostly built for TOS, but still is for mint as well......

ijor
Hardware Guru
Hardware Guru
Posts: 3781
Joined: Sat May 29, 2004 7:52 pm
Contact:

Postby ijor » Tue Aug 07, 2007 6:02 pm

Not exactly a cross compiler, but emulators such as Steem are nice for cross development.

You can use your favorite Windows (or Linux) editor concurrently. And you can fast forward Steem for fast compile times on large projects.

User avatar
giachi11
Atari freak
Atari freak
Posts: 61
Joined: Sun Jun 11, 2006 1:50 pm

Postby giachi11 » Wed Aug 08, 2007 5:20 pm

ijor wrote:Not exactly a cross compiler, but emulators such as Steem are nice for cross development.

You can use your favorite Windows (or Linux) editor concurrently. And you can fast forward Steem for fast compile times on large projects.


humm... the c compilers that run natively on the st are quite uncompatible with the code previously engineered with gcc. obiviously they can be "adapted", but the process needs a lot of patience ....
the only version of gcc that i know able to compile directly for tos is the one that mouse_master posted as link.... the others (the ones i saw) are all for mint... and at this time i haven't got a working mint setup..... brobably because i got a little patience :D

however thanks for the replies.

ijor
Hardware Guru
Hardware Guru
Posts: 3781
Joined: Sat May 29, 2004 7:52 pm
Contact:

Postby ijor » Thu Aug 09, 2007 5:53 pm

giachi11 wrote:humm... the c compilers that run natively on the st are quite uncompatible with the code previously engineered with gcc.


Oops, sorry, I missed you were asking for gcc compatibility :oops:


Social Media

     

Return to “Coding”

Who is online

Users browsing this forum: No registered users and 0 guests