Added exit() function and renamed stdlib file to libc.a so GCC is happy.

This commit is contained in:
2024-02-03 01:05:26 +01:00
parent ca08dcc79b
commit c2a40a8104
3 changed files with 12 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ if env['BUILD_TARGET'] == 'stdlib':
stdlib_env.Append(CPPPATH = ['#targets/_any/bastl/include', '#targets/_any/stdlib/include', '#targets/_any/kernel/include'])
lib_stdlib = stdlib_env.StaticLibrary(
target = stdlib_env.File('#stdlib/stdlib.a'),
target = stdlib_env.File('#stdlib/libc.a'),
source = stdlib_sources
)
crti_o = stdlib_env.Object(target = '#stdlib/crti.o', source = stdlib_env['CRTI_PATH'])