On 2014-08-01 23:48, fredvs wrote:
>>> >> /usr/home/fred/fpGUI-develop/lib/x86_64-freebsd/fpg_base.o: could not
>>> >> read symbols: Bad value
> Compilation was done with -fPIC parameter...
>
> What is wrong ?
The classic down side of using Lazarus Packages (*.lpk files). You
applied a new compi
Hello.
A other issue comes from lpk packages.
Here answer from Super-Graeme that solve my problems... =>
>>
...
The classic down side of using Lazarus Packages (*.lpk files). You
applied a new compiler option to your project, but Lazarus doesn't apply
that to any packages you are using. Same
Hello.
Thanks to Graeme, it is possible to compile libraries on freeBSD ;-)
The solution :=>
>>>
Implementation
{$IFDEF FREEBSD}
// These are missing for FreeBSD in FPC's RTL
const
S_IRWXU = S_IRUSR or S_IWUSR or S_IXUSR;
S_IRWXG = S_IRGRP or S_IWGRP or S_IXGRP;
Hello.
I have a library-code who compiles perfectly on Linux 32/64 and Windows
32/64 with fpc 2.7 trunk.
Sadly, when i try to compile same code on freeBSD with fpc 2.7 trunk too, i
get that error message :
>> /usr/bin/ld: /usr/home/fred/fpGUI-develop/lib/x86_64-freebsd/fpg_base.o:
>> relocation