>> The main program should not need to do anything here.
>>  It's more likely that there is a problem in our FreeBSD startup files for 
>> libraries.
>> Regards,

>> Sven


Many thanks to take care on freeBSD + fpc libraries...

Please, read that topic, it talks about the same problem and it has a solution: 
=>

 > http://lists.freepascal.org/pipermail/fpc-devel/2013-November/032950.html

Hum, i thing also that it could be a problem on FreeBSD startup files of 
libraries.
The same code compiled in Linux and Windows works.

With that library, i have also same problem with Python, C, Java. =>
////////////////////////////
library test ;
{$mode objfpc}

procedure fpctest(); cdecl;
begin
////// NOTHING !
end;

exports
fpctest name 'fpctest';

begin
end.
///////////////////////////

It gives that error : =>
>> ~/libtest.so: Undefined symbol
>> OSerror : "operatingsystem_parameter_envp"

Many thanks.

Fred
                                          
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to