[fpc-devel] Initialization code question
Florian Klaempfl
florian at freepascal.org
Sun Jan 28 21:23:50 CET 2007
Felipe Monteiro de Carvalho schrieb:
> Hello,
>
> I am a bit confused by the initialization assembler files. I see on
> Windows the entry point should be _WinMainCRTStartup for gui apps. I
> can see this function declared on the wprt0.as file. But it´s also
> declared on the system unit! So, which one is being used? Is one of
> the two useless???
The *.as are for bootstrapping with 2.0.4. They aren't used anymore by 2.1.1
>
> Also, where is it defined that the prt0.o file should be linked with
> my executable? On my tests I think it isn´t linking this file...
In systems/t_win.pas
More information about the fpc-devel
mailing list