[fpc-devel] fpc libraries do not work in freeBSD...

Fred van Stappen fiens at hotmail.com
Wed Aug 6 03:36:57 CEST 2014


Hello.

Changed that in prt0.as =:> 

> > .weak operatingsystem_parameter_argc
> > .weak operatingsystem_parameter_argv
> > .weak operatingsystem_parameter_envp

with that :
 
> > .global operatingsystem_parameter_envp
> > .global operatingsystem_parameter_argc
> > .global operatingsystem_parameter_argv
> >  .set operatingsystem_parameter_envp,operatingsystem_parameters+0

> >  .set operatingsystem_parameter_argc,operatingsystem_parameters+8

> >  .set operatingsystem_parameter_argv,operatingsystem_parameters+16 

Have re-compiled fpc + recompiled library...

But,...

Same error message : 
> OSerror: ~/libtest.so: Undefined symbol
> "operatingsystem_parameter_envp"

 
Aaaaaaaaarghhh. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20140806/718712a7/attachment.html>


More information about the fpc-devel mailing list