Здравствуйте, Jonas.

Вы писали 21 ноября 2008 г., 19:19:33:


JM> On 21 Nov 2008, at 18:04, KES wrote:

>> I think FPC must not expect 'main' entry point

JM> The "main" of an FPC shared library contains the code to run the  
JM> initialisation routines of all units used by the library. The label of
JM> this code is however not called "main" (I can't remember that it ever
JM> was), and the FreeBSD startup code for is indeed wrong in calling it.

JM> For the FreeBSD maintainers: I guess you should use similar init/fini
JM> code as what is used for Linux (compiler/t_linux.pas, search for  
JM> initname).


fpc -Ss does not help ((

-- 
С уважением,
 KES                          mailto:[EMAIL PROTECTED]

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to