[fpc-devel] change default start function in cprt0.o
Jonas Maebe
jonas.maebe at elis.ugent.be
Fri Dec 4 11:36:32 CET 2009
On 04 Dec 2009, at 11:00, Dariusz Mazur wrote:
> next problem with use uclibc
> cprt0.o need _libc_start_main
> but inn uclibc
> _uClibc_main is used
>
> how to change it
> prepare new cprt0.as ?
I think the compiler is supposed to use ucprt0.as when you compile
against uclibc. Search for uclibc in compiler/systems/t_linux.pas to
see how the compiler decides which libc variant you are using.
Jonas
More information about the fpc-devel
mailing list