<div dir="ltr"><div>I am having issues setting up the linking portion of cross compiling from linux 64 to linux 32.</div><div><br></div><div>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.</div><div><br></div><div>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. </div><div><br></div><div>I've also modified my fpc.cfg liks so:<br></div><div><br></div><div><div># path to the gcclib</div><div>#ifdef cpui386</div><div>-Fl/usr/lib/gcc/i686-linux-gnu/4.8</div><div>-Fl/usr/lib/i386-linux-gnu/</div><div>-XPi386-linux-</div><div>#endif</div><div>#ifdef cpux86_64</div><div>-Fl/usr/lib/gcc/x86_64-linux-gnu/4.8</div><div>#endif</div></div><div><br></div><div>here are the errors I get when I try to build a sample graphical program I called 'build32.lpr'</div><div><br></div><div><a href="http://pastebin.com/cjYTbqXq">http://pastebin.com/cjYTbqXq</a><br></div><div><br></div><div>Where do I even go from there to get cross compiling gui aps working?</div></div>