I use it to see what issue may arise or what can be easely compiled by other c compiles/systems. Some came from bsd-c (CP/M).
So I did this also with glcc for gigatron. Just to see what happens. Check readme.txt first. Find the zip file attached.
(I work under Mac OS - so there are ._* files in the zip - this is mac os specific and this files can be deleted on other systems)
So this is for further investigation/cleanup/correction for glcc/the source files, or what ever anyone wants to do with it.
So if you are looking for nice graphical, ready to run games => this is NOT for you
reversi (= othello), mmind (Mastermid) and startrek (needs 64k) are running fine.
Code: Select all
Generell:
glcc complains about standard #include <stdio.h> etc. pp.
Error line numbers reported doesn't seem right (Mac OS issue?)
---
fib: fibonacci numbers - compiles - runs? - no response - heavily recursive function
hanoi - towers of .. - compiles - runs fine
mandel - mandelbrot ascii - compiles - runs but is for larger screen sizes
mmind - mastermind - compiles - runs fine
nqueens - solve n queens problem - compiles - runs? - no response
othello - compile/link issue: glink: error: undefined symbol 'kbhit' imported by 'othello.c'
reverse - compile issue: reverse.c:58: illegal statement termination - int list[9] = {1,2,3,4,5,6,7,8,9};
reversi - othello game - compiles - runs fine - human=O, computer=X - enter x y <return>
startrek - famous startrek game - compiles - runs fine - needs 64k
c4 - connect 4 - compile issue: illegal character `\'
ttt - compile issue: ttt.c:68: syntax error; found "where you want to pl ... expecting `)'
Peter