[fpc-devel].hidden PASCALMAIN

Sergey Korshunoff seyko at comail.ru
Mon Aug 26 06:43:22 CEST 2002


> > Is removing the PASCALMAIN symbol from the library also 
> > enough? Because 
> > then the symbol will only be defined by the program and not 
> > by any libaries
> > Peter
> 
> Marking PASCALMAIN as hidden acts as removing
> this symbol from library. But only after making this
> library. I do not know how can it be done without marking 
> this symbol as hidden.
> Because we need to perform a linking a  *.o files inside 
> library before we can
> remove PASCALMAIN from the library.
 
Another solution is an including of strartup asm code in
Main library or program asm code. With public symbols removed
(which are included for linking a startup asm and main part).
Or perform linking of this parts itself (with removing public
Symbols as PASCALMAIN after this).

Regards,
	Sergey Korshunoff
 





More information about the fpc-devel mailing list