The first steps in getting "C" going in Windows are :-
1) Download the VBCC compiler/linker/SMAC from the Hill Software web site. Its just over a 5MB download.
When you install the compiler system it adds a directory path to the environment variable called PATH that points to where the VBCC tools are and also another environment variable called VBCC. If like me, you have several compilers it might be worth opening a dos box in windows and typing :-
SET PATH=%VBCC%;
And then proceed to build the libraries.
This zip contains the linker files. Just copy the cfg directory to be at the same level as BIN, LIB etc. from the VBCC release :-
This file contains jlibc the Remover's Jaguar standard library. Again extract the contents to be at the same level as BIN etc :-
jlibc.0.5.9a.win.zip
This file contains the Removers jag specific stuff (partially working) :-
rmv.1.3.4a.win.zip
This file contains Remover's Example1 :-
rmv.example1.1.00.win.zip
Once installed you should have the following directory structure (of importance) :-
..\bin
..\lib
..\jlibc
..\jlibc\docs
..\jlibc\include
..\jlibc\include\asm
..\jlibc\src
..\rmv\docs
..\rmv\include
..\rmv\src
..\cfg
..\example1
To build everything :-
Navigate to ..\libc\src and type make or nmake (depending on your environment).
Navigate to ..\rmv\src and type make/nmake
navigate to ..\example1 and type make/nmake
Test the final binary in PT with a load and run address of 0x802000. To build BJL versions just edit the example1\makefile and change the word "cart" to "bjl" and build again.
The final executable has been tested on real hardware courtesy of sh3-rg. Many thanks for that . Any questions just ask.
vbcc_linker.1.01.win.zip