gcclib
This gcc 1.40 suits for Linux kernel 0.11 - 0.95
Installtion hints
-----------------
This suit contains include.taz, local.taz and this README file.
You must download the bootimage and rootimage and install them first.
The include.taz contains all the include files for using with gcc 1.40.
The local.taz contains all the gcc tools & libs stored in two sepearted
directories:
/usr/local/lib
/usr/local/bin
You should copy the linux/ asm/ sys/ subdirectories into the include
directory from the corresponding kernel source.
Installation
------------
Goto the /usr directory. Untar the include.taz to the directory /usr/include.
Untar the local.taz to the directory /usr/local. That s it!
Example:
--------
cd /usr
tar zxvf include.taz
tar zxvf local.taz
This a FREE tool chain which compiles C codes into 8051 binary code, converts the binary to RTL ROM, and simulate in Modelsim.
SDCC is the compiler.
Example compilation:
cd compile
sdcc --iram-size 0x80 --xram-size 0x800 t8051.c
REM sdcc --iram-size 0x80 t8051.c
packihx t8051.ihx > t8051.hex
..\test\mkrom.exe ..\compile\t8051.hex
DtWinVer is a C++ class which provides a comprehensive method to determine which OS the program that calls it is running on. All methods it uses are fully documented on various articles on the MSDN cd