No Lucamar, no changes are needed to Lazarus itself. As long as it can find the appropriate compiler (ProjectOptions), it will build what it needs as it needs it. Very nice.
For the record, this will add a 64bit windows -
make clean all OS_TARGET=win64 CPU_TARGET=x86_64
make crossinstall OS_TARGET=win64 CPU_TARGET=x86_64 INSTALL_PREFIX=/usr
ln -sf /usr/lib/fpc/$FPCVER/ppcrossx64 /usr/bin/ppcrossx64
...And this will add 32bit linux (assuming we are on a 64bit platform) -
make all CPU_TARGET=i386
make crossinstall CPU_TARGET=i386
But one thing I have noticed is that on three occasions now, Ubuntu has updated files in my /lib/i386-linux-gnu dir and left me with a broken symlink to libglib-2.0.so. That breaks the 32bit linux compile. So there is something unclean there ....
Davo