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

2014-06-28 Thread Jonas Maebe
On 28/06/14 16:48, Fabio Luis Girardi wrote: I'm testing any option that appears to be useful to build a shared library. Even If the help says that is unsupported. I'm desperate :) Unsupported options are much more likely to break things than fix things. Jonas

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

2014-06-28 Thread Fabio Luis Girardi
Em 28/06/2014 09:13, "Jonas Maebe" escreveu: > > And as the FPC help says, -CD is unsupported (nor needed; it is related to the as of yet unimplemented Delphi-style dynamic packages support). > I'm testing any option that appears to be useful to build a shared library. Even If the help says that

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

2014-06-28 Thread Jonas Maebe
On 27/06/14 16:24, Fabio Luis Girardi wrote: 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 FPC does not support PIC code for ARM in 2.6.x. Additionally, if you want PIC, then