[fpc-pascal] shared library on arm-linux (raspberry pi)

Fabio Luis Girardi fluisgirardi at gmail.com
Fri Jun 27 16:24:43 CEST 2014


The output of "readelf -a" with libraries built in C and FPC...

The command line used to build the library in fpc is:

fpc ulib.pas
fpc -Cg -Xc -CD -CX library1.fpr

I guess that FPC forgot something...



2014-06-26 22:45 GMT-03:00 Fabio Luis Girardi <fluisgirardi at gmail.com>:

> Hi!
>
> I did more tests, with a clean raspbian image, using fpc that comes with
> raspbian repositories. Now I can compile a program and the shared library,
> but I can't load my shared library on my program, but my program can load
> and use a shared library built in C. Maybe a FPC bug??
>  No, I installed FPC on Rpi using this file:
>
>
> http://sourceforge.net/projects/freepascal/files/Linux/2.6.4/fpc-2.6.4.arm-linux.tar
>
> Using the FPC 2.6.4, I tried build a fresh FPC 2.7.1 on Rpi, but I found
> the same error.
>
>
> So, I have to go back and install FPC from Raspibian repositories...
>
>
>
>
> 2014-06-26 10:57 GMT-03:00 Marco van de Voort <marcov at stack.nl>:
>
>> In our previous episode, Fabio Luis Girardi said:
>> > Someone can say if this is a problem with my raspbian image or a problem
>> > with my FPC installation?
>>
>> Did you use the raspbian provided (and patched!) FPC or did you build your
>> own?
>>
>> Stock 2.6.4 does NOT run armhf systems, Raspbian patched theirs.
>>
>
>
>
> --
> The best regards,
>
> Fabio Luis Girardi
> PascalSCADA Project
> http://sourceforge.net/projects/pascalscada
> http://www.pascalscada.com
>



-- 
The best regards,

Fabio Luis Girardi
PascalSCADA Project
http://sourceforge.net/projects/pascalscada
http://www.pascalscada.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20140627/bb83467c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: outlib_Built_in_C
Type: application/octet-stream
Size: 14179 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20140627/bb83467c/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: outlib_Built_in_FPC
Type: application/octet-stream
Size: 184418 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20140627/bb83467c/attachment-0001.obj>


More information about the fpc-pascal mailing list