[fpc-devel] Initialization code question

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Sun Jan 28 21:19:58 CET 2007


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???

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...

thanks,
-- 
Felipe Monteiro de Carvalho



More information about the fpc-devel mailing list