mirror of
https://github.com/drasko/codezero.git
synced 2026-03-03 02:53:15 +01:00
Correct placement of arguments and environment on stack.
int main(int argc, char *argv[]) style main function works now on Codezero/POSIX.
This commit is contained in:
@@ -74,6 +74,7 @@ rootfs = SConscript('rootfs/SConscript', \
|
||||
exports = { 'config' : config, 'environment' : env, 'contid' : contid, 'previmage' : mm0 }, duplicate = 0, \
|
||||
variant_dir = join(BUILDDIR, 'cont' + str(contid) + '/posix' + '/rootfs'))
|
||||
|
||||
# No libposix reference because it conflicts with the compiler C library + the cluncky libc we have.
|
||||
test0_env = env.Clone()
|
||||
test0_env.Replace(CPPPATH = ['include', KERNEL_INCLUDE, LIBL4_INCLUDE, LIBMEM_INCLUDE])
|
||||
test0 = SConscript('test0/SConscript', \
|
||||
|
||||
Reference in New Issue
Block a user