Hello.

Here are some news from the front :

The fpc Library :

TheRevolutionaryLibrary library;
uses
TheBigUnit;
begin
end.

fpc compiler parameter => -fPIC.

=> Windows 32 bit => Compiles and works more than perfect.
=> Windows 64 bit => Compiles and works more than perfect.

=> Linux 32 bit => Compiles and works more than perfect.
=> Linux 64 bit => Not Compile and that error message:

/usr/bin/ld: /home/fred/mylib/lib/x86_64-linux/thefile.o: réadressage de 
R_X86_64_32S en vertu de « .bss.n_u_$thefile_$$_usedfirstmessage » cannot be 
used when creation of shared object, recompile with -fPIC

/home/fred/fmylib/lib/x86_64-linux/thefile.o: error adding symbols: Bad value


Who is the enemy ?

Many thanks.

PS : The library does not use any TForm nor any LCL units...

Fred.
                                          
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to