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

Fred van Stappen fiens at hotmail.com
Wed Aug 6 01:10:49 CEST 2014


> > .global operatingsystem_parameter_envp
> > .global operatingsystem_parameter_argc
> > .global operatingsystem_parameter_argv
> > .set operatingsystem_parameter_envp,operatingsystem_parameters+0
> > .set operatingsystem_parameter_envp,operatingsystem_parameters+0
> > .set operatingsystem_parameter_envp,operatingsystem_parameters+0
> 
> I may be completely wrong, but the last three identical lines look 
> strange to me. I'd assume that either having it just once should be 
> OK, or that the latter two should be in fact different (in 
> particular, refer to argc and argv rather than envp and probably also 
> contain a different offset at the end).
> 
> Tomas

Hum, Tomas your advice is extremely clever...

Indeed, i just remark it now.

It seems more logical like this (if there must be 3 lines) :

.set operatingsystem_parameter_envp,operatingsystem_parameters+0
.set operatingsystem_parameter_argc,operatingsystem_parameters+0
.set operatingsystem_parameter_argv,operatingsystem_parameters+0

Other thing, to recompile fpc in freeBSD must i use gmake in place of make ?

Hum, a loooooooong night in perspective....

Wow to have noted it Tomas, thanks.

Write you (much) later.

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


More information about the fpc-devel mailing list