[fpc-pascal] Nano-x
Carsten Bager
carsten at beas.dk
Thu Jul 20 14:14:29 CEST 2006
> You need to link to the C library as well.
When I use initc I get thise errors
Linking nanoxdemo
L:\Lib\fpc202\arm-linux\cprt0.o: In function `_start':
: undefined reference to `__libc_start_main'
L:\Lib\fpc202\arm-linux\cprt0.o: In function `_haltproc'
: undefined reference to `_fini'
L:\Lib\fpc202\arm-linux\cprt0.o: In function `_haltproc'
: undefined reference to `_init'
I can see (in the map file) that the linker pulls cprt0 (instead of prt0)
and cprt0 calls "__libc_start_main", "_fini" and "_init". As you can
see these functions are not in the clib on my platform.
Is there a way around?
Carsten
More information about the fpc-pascal
mailing list