[fpc-devel].hidden PASCALMAIN

Sergey Korshunoff seyko at comail.ru
Sun Aug 25 02:10:56 CEST 2002


Hi!

Sirs!
Please try to mark PASCALMAIN symbol in FPC generated *.o as hidden!
I think you can find more general way to do this then my
   if tai_symbol(hp).sym.name = 'PASCALMAIN' then
      AsmWriteLn('.hidden PASCALMAIN');
(in compiler/aggas.pas only).

This marking is needed to allow link FPC made *.lib with
FPC main program.

Because currently FPC 1.1 is heavely corrected in
code generation part there is good time to impement this
task too (as I think).

Regards,
	Sergey Korshunoff




More information about the fpc-devel mailing list