Discussion Forum for all things Microbee
C Cross compiler for Microbee - Printable Version

+- Discussion Forum for all things Microbee (https://microbeetechnology.com.au/forum)
+-- Forum: Microbee Forum (https://microbeetechnology.com.au/forum/forum-1.html)
+--- Forum: Microbee Software and Documentation (https://microbeetechnology.com.au/forum/forum-7.html)
+--- Thread: C Cross compiler for Microbee (/thread-507.html)



C Cross compiler for Microbee - snake - 02-06-2022

I'm looking at SDCC and z88dk.

Anyone writing in C on a PC or Mac and compiling for Z80 on the Microbee?

http://sdcc.sourceforge.net
https://z88dk.org/


RE: C Cross compiler for Microbee - snake - 03-06-2022

Maybe it's only me - ha ha!

I'm using a Mac running Sublime text with scripts for SDCC and ZCC (z88dk)

I will post my progress like I did for Z80 Assembly language.


RE: C Cross compiler for Microbee - MbeeTech - 03-06-2022

G'day Snake.

Have a look at this thread where user Under4Mhz has put up a sample C project using SDCC.
There have been a number of other threads from the same user with questions to support his porting
of a game to the Microbee.


RE: C Cross compiler for Microbee - Under4Mhz - 12-06-2022

Feedback on my demo is welcome.

I think we'd all be interested in your progress. Feel free to let us know how you're going.


RE: C Cross compiler for Microbee - someone - 16-06-2022

Why not use the Australian Hi-Tech C for Z80 natively on a microbee?

GitHub - agn453/HI-TECH-Z80-C: HI-TECH Z80 CP/M C compiler v3.09 and updates

It's old & a little quirky but it does compile well.
To do so, it's highly recommended that your system at least 2 floppy drives.
It's fascinating watching the build process in progress with the floppy drives blinking and switching to and fro for hours on end.

From that you can easily migrate to a 68000 machine such as the Gamma or Applix1616 and compile with the 68K version of HI-TECH C.


RE: C Cross compiler for Microbee - snake - 04-08-2022

(16-06-2022, 06:56 PM)someone Wrote: Why not use the Australian Hi-Tech C for Z80 natively on a microbee?

GitHub - agn453/HI-TECH-Z80-C: HI-TECH Z80 CP/M C compiler v3.09 and updates

It's old & a little quirky but it does compile well.
To do so, it's highly recommended that your system at least 2 floppy drives.
It's fascinating watching the build process in progress with the floppy drives blinking and switching to and fro for hours on end.

From that you can easily migrate to a 68000 machine such as the Gamma or Applix1616 and compile with the 68K version of HI-TECH C.
That's been done, I'm focusing on cross-compilers especially for Mac.