Skip to content

Instantly share code, notes, and snippets.

@lighth7015
Last active March 22, 2020 17:33
Show Gist options
  • Save lighth7015/1893d54571e2f66220b93de7e2df0bc5 to your computer and use it in GitHub Desktop.
Save lighth7015/1893d54571e2f66220b93de7e2df0bc5 to your computer and use it in GitHub Desktop.
proposed project structure
user@local giza-sdk# bin/sdk build
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
Building SDK compiler...
[cc] host compiler1.c
[cc] host compiler2.c
[cc] host compiler3.c
Building SDK linker...
[cc] host linker1.c
[cc] host linker2.c
[cc] host linker3.c
Building Base System...
Building Kernel
[cc] base startup.c
[cc] base syscall.c
[cc] base kernel.c
Building C Runtime
[cc] base syscall.c
[cc] base string.c
[cc] base handle.c
[cc] base directory.c
[cc] base file.c
Building Shell
[cc] base shell.c
[cc] base startup.c
[cc] base shellmain.c
scons: done building targets.
user@local giza-sdk# bin/sdk configure
SDK Build Configuration Manager (BCM)-
Checking System CPU......... AMD FX(tm)-8350 Eight-Core Processor, Stepping 0
Checking Target............. MS-DOS
Checking System Compiler.... gcc
Verifying System Compiler... OK
Writing SDK configuration... Done
giza-sdk-src/
build/
(built files)
sdk/ (uses system compiler)
targets/
(SDK target files)
compiler/
(compiler source)
linker/
(compiler source)
assembler/
(compiler source)
base/ (uses SDK compiler)
subproj1/
subproj2/
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment