Cross Compiling

GFA, ASM, STOS, ...

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

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

Cross Compiling

Post by giachi11 »

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
simonsunnyboy
Moderator
Moderator
Posts: 5309
Joined: Wed Oct 23, 2002 4:36 pm
Location: Friedrichshafen, Germany
Contact:

Post by simonsunnyboy »

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

Post by giachi11 »

ok, thanks for the advice
User avatar
mouse_master
Captain Atari
Captain Atari
Posts: 159
Joined: Tue Jun 17, 2003 7:24 pm

Re: Cross Compiling

Post by mouse_master »

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: 4061
Joined: Sat May 29, 2004 7:52 pm
Contact:

Post by ijor »

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

Post by giachi11 »

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: 4061
Joined: Sat May 29, 2004 7:52 pm
Contact:

Post by ijor »

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:
Post Reply

Return to “Coding”