Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2006-07

Cross Compiling from FreeBSD

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Tamara Bunke

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

Reply by email

Mattias Gaertner
to Tamara Bunke
Show quoted text 8 lines
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

Show quoted text 8 lines
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

Reply by email