Hi,
When linking with "-lc", it provides me things like "strlen", but "malloc" failed (../../../../../newlib/libc/reent/sbrkr.c:60: undefined reference to « sbrk »).
What part of LIBC is provided by toolchain ? Is there any alternative available ?
If someone started a LIBC complement, I would like to help this project, since I think we now need a full ANSI-C devkit.
PSP-toolchain and libc
PSP-toolchain and libc
Last edited by Xfennec on Thu Jun 23, 2005 7:57 pm, edited 1 time in total.
here is a little malloc replacement :
http://www.wab.com/tools/malloc.c
be sure to rename function like malloc_psp or free_psp to avoid redefinement.
ALoneTrio
http://www.wab.com/tools/malloc.c
be sure to rename function like malloc_psp or free_psp to avoid redefinement.
ALoneTrio