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?
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
