More implementation of the C standard library.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
Import('env')
|
||||
|
||||
init_sources = Split('''
|
||||
src/main.c
|
||||
src/main.cpp
|
||||
''')
|
||||
|
||||
init_env = env.Clone()
|
||||
@@ -11,6 +11,7 @@ init_env['CC'] = 'x86_64-elf-baos-gcc'
|
||||
init_env['CXX'] = 'x86_64-elf-baos-g++'
|
||||
init_env['LD'] = 'x86_64-elf-baos-g++'
|
||||
init_env.Append(CXXFLAGS = ['-fno-exceptions', '-fno-rtti', '-std=c++20'])
|
||||
init_env.Append(LINKFLAGS = ['-nostdlib++']) # TODO: this should be changed in GCC, but I can't find a way to do it
|
||||
init_env.Append(CPPPATH = ['#targets/_any/bastl/include', '#targets/_any/stdlib/include', '#targets/_any/kernel/include'])
|
||||
|
||||
prog_init = init_env.Program(
|
||||
|
||||
Reference in New Issue
Block a user