Closed tengyifei closed 8 years ago
To build clibtestprint, run yifei$ /Volumes/ece391cc/cross/bin/i686-elf-gcc -nostdlib -g -o clibtestprint.elf clibtestprint.c syscall/ece391syscall.o -Iclib/i686-tedkos/include -Lclib/i686-tedkos/lib -lc -lg -lm -lnosys in directory userland.
clibtestprint
yifei$ /Volumes/ece391cc/cross/bin/i686-elf-gcc -nostdlib -g -o clibtestprint.elf clibtestprint.c syscall/ece391syscall.o -Iclib/i686-tedkos/include -Lclib/i686-tedkos/lib -lc -lg -lm -lnosys
userland
The program compiles, links, runs and exits but prints nothing.
To build
clibtestprint
, runyifei$ /Volumes/ece391cc/cross/bin/i686-elf-gcc -nostdlib -g -o clibtestprint.elf clibtestprint.c syscall/ece391syscall.o -Iclib/i686-tedkos/include -Lclib/i686-tedkos/lib -lc -lg -lm -lnosys
in directoryuserland
.The program compiles, links, runs and exits but prints nothing.