-
Notifications
You must be signed in to change notification settings - Fork 281
Building User Space
EtchedPixels edited this page Nov 15, 2014
·
8 revisions
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 foo 755
exit
stdio is currently not entirely well
time is broken
signals/alarm seems to be busted (probably kernel side)
Fuzix: because small is beautiful