Jump to content

Photo

GCC for the TI


528 replies to this topic

#526 cmcureau OFFLINE  

cmcureau

    Combat Commando

  • 3 posts

Posted Tue May 21, 2019 6:30 AM

Just in case there is interest out there, I've added a simple example to my repository (and updated the docker container to add some ea5 utilities) that walks through how to build using libti99.

 

https://github.com/ccureau/tms9900-gcc

 

Happy hacking!



#527 Fabrizio Caruso OFFLINE  

Fabrizio Caruso

    Chopper Commander

  • 118 posts

Posted Wed May 22, 2019 1:47 AM

Thanks a lot @cmcureau!



#528 Fabrizio Caruso OFFLINE  

Fabrizio Caruso

    Chopper Commander

  • 118 posts

Posted Wed May 22, 2019 1:51 AM

Should GCC for TI be called GCC for TMS9900? or does it have specific dependencies on the TI99 computer roms and hardware?

What is to produce a functional binary for the TI99 that can be loaded into an emulator or real hardware?

I guess one needs a .crt file and maybe some specific compiler options and "packaging" tools.
Where can I get the .crt file(s) and compiler options and tools to produce a rom/tape/disk images?



#529 Fabrizio Caruso OFFLINE  

Fabrizio Caruso

    Chopper Commander

  • 118 posts

Posted Wed May 22, 2019 10:32 AM

If I try to use tms9900-gcc as gcc to compile and link a list of files, I get the following linker error:
/opt/gcc4ti99/lib/gcc/tms9900/4.4.0/../../../../tms9900/bin/ld: cannot find -lgcc

I guess this is expected. Isn't it?
 






0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users