-
Notifications
You must be signed in to change notification settings - Fork 283
Building User Space
EtchedPixels edited this page May 30, 2015
·
8 revisions
Everything here is now hopefully historical except for the notes about where the tools need to go.
This is all a bit messy so it will be best if this is in the Wiki for the moment
cd Library/tools
make binman fcc fsize syscall
mkdir /opt/fcc # currently hardcoded
mkdir /opt/fcc/bin /opt/fcc/lib /opt/fcc/include
cp binman fcc /opt/fcc/bin
cd ../libs
../tools/syscall
cd fuzix
make
cd ..
make
cp crt0.rel /opt/fcc/lib
cp syslib.lib /opt/fcc/lib/c.lib
cd ../include
cp -r * /opt/fcc/include/
fcc foo.c -c
fcc foo.rel -o foo
Right now that has to be two steps - fcc needs a lot of work to make it hide all the sdcc weirdness
Then
ucp filesystem
cd wherever
get foo
chmod 755 foo
exit
Fuzix: because small is beautiful