Where to install NewLib
Posted: Thu Aug 07, 2014 2:52 am
I am trying to port Newlib to my kernel. However I have no idea where to install library /usr/include or my kernels directory?
The Place to Start for Operating System Developers
http://f.osdev.org/
Code: Select all
/bin/sh: i686-elf-cc: command not found
Makefile:386: recipe for target 'lib_a-dummy.o' failed
make[5]: *** [lib_a-dummy.o] Error 127
make[5]: Leaving directory '/opt/cross/src/build-newlib/i686-elf/newlib/libc/argz'
Makefile:675: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/opt/cross/src/build-newlib/i686-elf/newlib/libc'
Makefile:627: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/opt/cross/src/build-newlib/i686-elf/newlib'
Makefile:450: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/opt/cross/src/build-newlib/i686-elf/newlib'
Makefile:7423: recipe for target 'all-target-newlib' failed
make[1]: *** [all-target-newlib] Error 2
make[1]: Leaving directory '/opt/cross/src/build-newlib'
Makefile:824: recipe for target 'all' failed
make: *** [all] Error 2
Code: Select all
/home/ege/newlib-2.1.0/newlib/libc/include/sys/_types.h:76:5: error: unknown type name 'wint_t'
wint_t __wch;
^
Makefile:392: recipe for target 'lib_a-argz_add.o' failed
make[5]: *** [lib_a-argz_add.o] Error 1
make[5]: Leaving directory '/home/ege/newlib-2.1.0/build-newlib/i686-elf/newlib/libc/argz'
Makefile:675: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/home/ege/newlib-2.1.0/build-newlib/i686-elf/newlib/libc'
Makefile:627: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/ege/newlib-2.1.0/build-newlib/i686-elf/newlib'
Makefile:450: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/ege/newlib-2.1.0/build-newlib/i686-elf/newlib'
Makefile:7428: recipe for target 'all-target-newlib' failed
make[1]: *** [all-target-newlib] Error 2
make[1]: Leaving directory '/home/ege/newlib-2.1.0/build-newlib'
Makefile:829: recipe for target 'all' failed
make: *** [all] Error 2