Jonas Maebe pisze:

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.
thx
to fpc.cfg I;ve added
-XR/home/darek/fpcarm/toolchain-arm-uclibc/

it works,
but now another problem

linker say that system.pp need  function _haltproc_eabi
which is absent in ucprt.0



--
 Darek




_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to