[fpc-pascal] Cross Compiling from FreeBSD

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Jul 22 21:06:49 CEST 2006


On Sat, 22 Jul 2006 14:55:13 -0400
"Tamara Bunke" <tamara.bunke at gmail.com> wrote:

> 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".

I updated the wiki.
The install directory is now in the fpcbuild repository:

svn co http://svn.freepascal.org/svn/fpcbuild/branches/fixes_2_0/install
install

 
> 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.


Mattias



More information about the fpc-pascal mailing list