lb3361 / gigatron-lcc Goto Github PK
View Code? Open in Web Editor NEWThis project forked from drh/lcc
GLCC is a LCC-derived C compiler and a C library for the Gigatron
This project forked from drh/lcc
GLCC is a LCC-derived C compiler and a C library for the Gigatron
These are changes I had to make to get glcc to build:
lcc.c:
#ifndef _MSC_VER
extern int access(char *, int);
extern int getpid(void);
#endif
cpp.h and cpp.c:
I had to rename all instances of outp to outp_, outp clashes with a the Windows CRT outp function.
CMakeLists.txt:
I replaces all instances of py -3 to python3, py -3 can be flakey in choosing python3 on some windows installations.
Added escaped quotes, ("), to list(APPEND objlist "${obj}") and list(APPEND objlist "${fn}") so that they look like this:
list(APPEND objlist ""${obj}"")
list(APPEND objlist ""${fn}"")
I have spaces in some of my folder names.
I also had to manually copy these exes from build/Release to build: (CMake on Windows/MSVC by default stores exes into Debug/Release folders).
cpp.ese
gtsim.exe
lburg.exe
lcc.exe
rcc.exe
This is as far as I got, all executables build correctly, but the executing of lcc.exe for libc4, libc5, libc6, libconx and libsim fails with a:
error MSB6001: Invalid command line switch for "cmd.exe". Illegal characters in path.
Must fix malloc alignment (longs are now 4 bytes aligned in preparation for ROMvX0).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.