[fpc-devel] Linux ELF linking problem
petr.kristan at epos.cz
petr.kristan at epos.cz
Wed Mar 19 11:20:03 CET 2008
Linux i386 system, fpc from svn rev 10506.
Simple program for retrive system charset:
program b;
uses
Libc;
begin
writeln(nl_langinfo(CODESET));
end.
Prints: ANSI_X3.4-1968
I think, libc is not inicialized.
ltrace ./b:
nl_langinfo(14, ....
None of __libc_start_main(... at begining.
objdump -R b
None jump slot __libc_start_main
It looks like some ELF linking problem.
Petr
--
Ing. Petr Kristan
.
EPOS PRO s.r.o., Bozeny Nemcove 2625, 530 02 Pardubice
tel: +420 466335223 Czech Republic (Eastern Europe)
fax: +420 466510709
More information about the fpc-devel
mailing list