Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Probl on cross-compile Linux x64 to x32 #25
installed (Ubuntu x64) Laz trunk. FPC 3.0.2.
Run IDE, it cannot make for x32. linker err:
folder cross/lib/arm-linux exists;
Same error has been reported on the Lazarus mailing list:
See my comments !
Naturally, but I need your help !
So please test this first scenario (as found in the forum) and report back:
Point FPC/Lazarus towards these libs in your project options:
Test. Report back.
as you can see TAny_linux-i386 detects wrong location and does not download CrossLibsLinuxi386.rar.
Now if I open the file fpcupdeluxe.ini in the root of the target installation folder and change this section:
For me, this works !
retrieve 32-bit packages
sudo apt-get install gcc-multilib libx11-dev:i386 pixbuf2.0-0:i386 libgtk2.0-0:i386
create missing symlinks
sudo ln -s -f /usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so.0 /usr/lib/i386-linux-gnu/libgdk_pixbuf-2.0.so