fpcup is a program that automates downloading and installing fpc and Lazarus from svn.
I've finished the first "real" crosscompiling module [2] for win=>linux i386 using the cross binutils and libs supplied by www.crossfpc.com [1] If you want to test it, add a cross directory under the fpcup "root" installdir directory (e.g. c:\development\cross, and e.g. regular fpc sources in c:\development\fpc etc) Then place the directory layout provided by the crossfpc project there, so you get c:\development\cross\bin\arm-android\arm-linux-androideabi-ar.exe c:\development\cross\bin\arm-android\arm-linux-androideabi-as.exe ... c:\development\cross\bin\i386-linux\i386-linux-ar.exe c:\development\cross\bin\i386-linux\i386-linux-as.exe ... c:\development\cross\lib\arm-android\libc.a c:\development\cross\lib\arm-android\libc.so ... c:\development\cross\lib\x86_64-linux\libc.a c:\development\cross\lib\x86_64-linux\libc.so ... then run regular fpcup fpcup followed by the cross compiler version: fpcup --cputarget=i386 --ostarget=linux Now continuing to work on: - win32=>arm-android - win32=>arm-linux - win64=>linux Contributions for other cross compilers are welcome - see the m_cross*.pas units for simple examples (you only need to fill in the code that checks for the proper binutils and crosslibs in the right location). The fpcup source code can be downloaded via https://bitbucket.org/reiniero/fpcup/src Haven't updated the binary downloads yet Lots of thanks to the crossfpc guys! [1] You can also download them via https://bitbucket.org/reiniero/fpcup/downloads/CrossFPC_binutils_libs.7z [2] the Linux,FreeBSD,OSX=>Windows one was not too hard thanks to built in FPC support ;) _______________________________________________ fpc-pascal maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
