The port of newlib is on this github: https://github.com/atomtables/newlib_astatine
This is the simple test program
Code: Select all
#include <stdio.h>
void main() {
printf("Hello, World!\n");
while(1);
}
Code: Select all
i686-astatine-gcc main.c -lc -lg -lm -lnosys
...i686-astatine/bin/ld: ...astatine/sysroot/usr/lib/libc.a(libc_a-closer.o): in function `_close_r':
...newlib-cygwin/build/i686-astatine/newlib/../../../newlib/libc/reent/closer.c:47:(.text+0x14): warning: _close is not implemented and will always fail
...i686-astatine/bin/ld: ...astatine/sysroot/usr/lib/libc.a(libc_a-fstatr.o): in function `_fstat_r':
...newlib-cygwin/build/i686-astatine/newlib/../../../newlib/libc/reent/fstatr.c:55:(.text+0x17): warning: _fstat is not implemented and will always fail
...
if someone could please it help it would be greatly appreciated

