Hello,
I made cross compiler with --with-headers and --with-newlib, as you guess I dida very basic newlib port attempt.
I want to link the C functions of newlib to use them in a flat memory model.
Inside the kernel.
But when I compile, some errors are found in header files, things like:
syntax error before "size_t"
I really doubt that newlib is so buggy.
I also use the home made gcc cross compiler from the makefile.
So what can be wrong?
Does anyone linked some newlib stuff with success? How?
Thanks in advance.
P.S:
I just tried to use strstr() function.
It does not need any OS dependent routine.
Linking the kernel with newlib
Are you using the guide at http://www.osdev.org/wiki/Porting_Newlib, or something else?
"Sufficiently advanced stupidity is indistinguishable from malice."