sharkcz (sharkcz) wrote,

Atari MiNT cross-tools available for Fedora

As you may know I am a fan of all Atari computers, starting with the 8-bits going over the ST line and ending in the newly developed FireBee. I already provide some Atari related tools and emulators in both Fedora and my add-on repository During browsing on the Internet I have found that Vincent Rivière provides up-to-date cross-tools Ubuntu and Cygwin packages containing compiler, assembler and C and math libraries for the 32-bit line of Ataris and I immediatelly started to think about packaging them for Fedora to expand my support. So starting today the packaged tools for Fedora and RHEL (and clones) are available in my repository.

The obligatory Hello World example (taken from Vincent's web):

[dan@eagle dan]$ yum list m68k-atari-mint\*                                     
Zavedeny zásuvné moduly: auto-update-debuginfo, downloadonly
Dostupné balíčky
m68k-atari-mint-binutils.x86_64          2.22-1.fc16                       danny
m68k-atari-mint-filesystem.noarch        2-2.fc16                          danny
m68k-atari-mint-gcc.x86_64               4.6.3-2.fc16                      danny
m68k-atari-mint-mintbin.x86_64           0.3-2.20110527.fc16               danny
m68k-atari-mint-mintlib.noarch           0.58.0-4.20111028cvs.fc16         danny
m68k-atari-mint-pml.noarch               2.03-2.fc16                       danny

[dan@eagle dan]$ sudo yum install m68k-atari-mint-gcc
[dan@eagle dan]$ cat > hello.c << EOF                                                                                           
> #include <stdio.h>
> int main(int argc, char* argv[])
> {
>     puts("Hello, world !");
>     return 0;
> }
[dan@eagle dan]$ m68k-atari-mint-gcc hello.c -o hello.tos -O2 -Wl,--traditional-format
[dan@eagle dan]$ ls -l hello.tos                                                                                                                                    
-rwxrwxr-x. 1 dan dan 83690 27. bře 10.19 hello.tos
[dan@eagle dan]$ file hello.tos                                                                                                                                       
hello.tos: Atari ST M68K contiguous executable (txt=50784, dat=1504, bss=2952, sym=30338)

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your IP address will be recorded