Download Latest Version gcc-1.42_merge-9-15-2016.7z (1.7 MB)
Email in envelope

Get an email when there's a new version of GCC 1.30 x68000

Home
Name Modified Size InfoDownloads / Week
src 2022-12-16
BIOS 2019-03-31
SharpC 2019-03-31
readme.txt 2020-06-21 1.7 kB
x68000-gcc130_21_06_2020.zip 2020-06-21 6.6 MB
Totals: 5 Items   6.6 MB 0
This is a simple 'cross compiler' for the Sharp x68000.

I found the source code to "gcc version 1.30 Tool#2(X680x0) patchlevel 5"
which actually patches against GCC 1.40.  I was able to put the original GCC in place
apply patches and changes, then I started to change a bunch of the warning/error messages
back to English.

Unfortuantly the file 'c-parse-tab.c' was the one that was patched, which is machine
generated, which kind of means you really can't do a full bootstrap.  This also means that
bitwise operations can get messed up for the big endian vs little endian (MSB/LSB). Yay.

The real winning part of this is run68 which lets the native assembler and linker HAS & SILK
generate .x files.

the env.cmd program is hard coded to execute from d:\x68000 obviously if you want it somewhere
else, you'll have to change it.  And don't forget to update bin\run68.ini to point to the new
location so that run68 can find things magically in it's own path.

I had been previously including a binary of the great 'ansicon' program but antivirus is now
flagging it as it uses DLL injection.  It's a false positive but to remove the annoyance I've
removed pre-built binaries of ansicon.  So nethack won't work correctly.

the demo directory contains some simple test programs:

dhry		Simple Dhrystone(1.1) benchmark
doom		DooM 1.1 port.  Needs a 68030
fib		simple fibonacci sequence.  More of a compiler validation
infocom		Infocom interpeter, the oldest I could find from '87
nethack		simple nethack port. needs ansicon
phoon		phases of the moon.  run68 does NOT like this
trek		super star trek.  So broken, such old C.

Source: readme.txt, updated 2020-06-21