On Tue, Dec 30 18:30, Alexander Siol wrote: > Auch selbsterklärend. Fixes für die stdlib gibts aber noch keine ;) Insofern > gibts da nen Bug inner Textpositionierung. > diff --git a/trunk/src/include/arch/i386/stddef.h b/trunk/src/include/arch/i386/stddef.h > index 5bb2d7a..265ec5f 100644 > --- a/trunk/src/include/arch/i386/stddef.h > +++ b/trunk/src/include/arch/i386/stddef.h > @@ -42,7 +42,9 @@ > > typedef __SIZE_TYPE__ size_t; > typedef int ptrdiff_t; > +#ifndef __cplusplus > typedef uint32_t wchar_t; > +#endif > > #endif > > diff --git a/trunk/src/include/stdlib.h b/trunk/src/include/stdlib.h > index 0ecd514..aa77063 100644 > --- a/trunk/src/include/stdlib.h > +++ b/trunk/src/include/stdlib.h > @@ -71,7 +71,7 @@ void unsetenv(const char* name); > > void qsort(void *base, size_t num, size_t size, int (*comparator)(const void *, const void *)); > > -char* mktemp(char* template); > +char* mktemp(char* templatename); > > #ifndef CONFIG_LIBC_NO_STUBS > double atof(const char* str); > diff --git a/trunk/src/modules/cpp/cpptest/Makefile.all b/trunk/src/modules/cpp/cpptest/Makefile.all > index 07b49eb..184ff6c 100644 > --- a/trunk/src/modules/cpp/cpptest/Makefile.all > +++ b/trunk/src/modules/cpp/cpptest/Makefile.all > @@ -3,5 +3,5 @@ source $LOST_BUILDMK_ROOT/config.sh > > echo "LD $1/apps/cpptest" > $LOST_TOOLS_LD -ocpptest -T../lib/linkcpp.ld --start-group ../lib/start.o ../lib/startup.o *.o $2 --end-group > -$LOST_TOOLS_STRIP cpptest $1/apps/cpptest > +mv cpptest $1/apps/ Warum nicht mehr strippen? > > diff --git a/trunk/src/modules/cpp/lib/startup.cpp b/trunk/src/modules/cpp/lib/startup.cpp > index 0c0407e..3d70c30 100644 > --- a/trunk/src/modules/cpp/lib/startup.cpp > +++ b/trunk/src/modules/cpp/lib/startup.cpp > @@ -39,6 +39,7 @@ extern "C" > #include "stdlib.h" > #include "stdio.h" > #include "rpc.h" > + #include "syscall.h" > > void __libcpp_initialize(); > int __libcpp_startup(); Sonst sieht das gut aus. -- Antoine Kaufmann <toni@xxxxxxxxxxxxxxxx>
Attachment:
pgp2bUnaA_Pku.pgp
Description: PGP signature