fixup for drt based crt, also, use hardware fp for math functions

This commit is contained in:
wolfwood
2010-11-27 03:31:30 -05:00
parent cf06639c2d
commit 967b711f02
3 changed files with 6 additions and 4 deletions

View File

@@ -132,7 +132,7 @@ cd ../../../../..
echo "CONFIGURE NEWLIB"
cd newlib-obj
../newlib-${NEWLIB_VER}/configure --target=$TARGET --prefix=$PREFIX --with-gmp=$PREFIX --with-mpfr=$PREFIX || exit
../newlib-${NEWLIB_VER}/configure --target=$TARGET --prefix=$PREFIX --with-gmp=$PREFIX --with-mpfr=$PREFIX -enable-newlib-hw-fp || exit
echo "COMPILE NEWLIB"
make || exit

View File

@@ -1,6 +1,10 @@
extern int main(); //int argc, char **argv, char **environ);
extern void initC2D();
int _Dmain(){
initC2D();
return main();
}

View File

@@ -107,8 +107,6 @@ open(const char *name, int flags, ...) {
return -1;
}
printf("new fd assigned: %d\n", fd);
return fd;
}