linux-xdev

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux-xdev [2018/03/11 21:47] – MarkLinimonlinux-xdev [2022/10/27 04:07] (current) – Remove ACL, not required KubilayKocak
Line 1: Line 1:
 ====== Cross development of Linux binaries on a FreeBSD system ====== ====== Cross development of Linux binaries on a FreeBSD system ======
 +
 +Note that the text below is somewhat outdated - current way of setting up a Linux development environment is described at [[LinuxJails]].
  
 Previous to the use of FC4 as the default linux base port cross-developing Linux binaries on a %%FreeBSD%% system required the use of the linux_devtools port. This is not the case anymore. Cross development of Linux binaries requires to do a chroot in to the linux directory (default LINUXBASE: /compat/linux) to not pick up any %%FreeBSD%% native stuff (more or less compatible header files and/or libraries) by accident. Not doing a chroot may work in some cases but requires a little bit of luck if you don't really know what you are doing. Previous to the use of FC4 as the default linux base port cross-developing Linux binaries on a %%FreeBSD%% system required the use of the linux_devtools port. This is not the case anymore. Cross development of Linux binaries requires to do a chroot in to the linux directory (default LINUXBASE: /compat/linux) to not pick up any %%FreeBSD%% native stuff (more or less compatible header files and/or libraries) by accident. Not doing a chroot may work in some cases but requires a little bit of luck if you don't really know what you are doing.
  • linux-xdev.1520804876.txt.gz
  • Last modified: 2018/03/11 21:47
  • by MarkLinimon