[fpc-pascal] Cross Compiling from FreeBSD

Tamara Bunke tamara.bunke at gmail.com
Sat Jul 22 20:55:13 CEST 2006


Greetings to the List:

I installed FPC-2.0.2 as well as Lazarus from the source tarballs on
my FreeBSD 6.1 system. I would like to be able to cross-compile to
both Linux and to Windows.

I have read the wiki at:
http://wiki.lazarus.freepascal.org/index.php/Cross_compiling_for_Win32_under_Linux
and succeeded in getting to step # 2.4 "Download the gnu binutils". In
step # 2.5 "Cross build binutils", the instructions say to:

[]$ cd ~/sources/fpc/install/cross/
[]$ cp buildcrossbinutils buildcrossbinutils.sh

Unfortunately, my FPC source tree, has no such script called
"buildcrossbinutils.sh".

The Docs must be old. Can someone point me to where/how to properly
set up this system to Cross-Compile? I will be needing the tools (LD,
AS... etc), as well as the units for both Linux and Win32.

Thanks!

Tamara



More information about the fpc-pascal mailing list