[Lazarus] Tips for setting up Linux64 to Linux32 cross compile?
Anthony Walter
sysrpl at gmail.com
Wed Nov 4 20:44:03 CET 2015
I am having issues setting up the linking portion of cross compiling from
linux 64 to linux 32.
The problem come with linking to all the required linux-i386 libraries on
my 64 bit system. I am talking about the linking to 32 bit libs like
libcairo, libpango, libgmodule-2.0, and so on. All the libraries needed by
a normal graphics application for 32bit linux.
I've gone setup my 64bit linux to have a /usr/lib/i386-linux-gnu/ folder,
and I've copied some files there from my working 32bit linux.
I've also modified my fpc.cfg liks so:
# path to the gcclib
#ifdef cpui386
-Fl/usr/lib/gcc/i686-linux-gnu/4.8
-Fl/usr/lib/i386-linux-gnu/
-XPi386-linux-
#endif
#ifdef cpux86_64
-Fl/usr/lib/gcc/x86_64-linux-gnu/4.8
#endif
here are the errors I get when I try to build a sample graphical program I
called 'build32.lpr'
http://pastebin.com/cjYTbqXq
Where do I even go from there to get cross compiling gui aps working?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20151104/8a1d9e8b/attachment-0002.html>
More information about the Lazarus
mailing list