Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| linux-xdev [2007/09/07 07:10] – add a paragraph about a native cross compiler AlexanderLeidinger | linux-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: / | 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: / | ||
| Line 18: | Line 20: | ||
| In the ports there are the cross-* ports. They can be used to compile a cross compiler for various architectures. All you have to do is to compile the ports and add includes and libs from the linux system your target in your development. | In the ports there are the cross-* ports. They can be used to compile a cross compiler for various architectures. All you have to do is to compile the ports and add includes and libs from the linux system your target in your development. | ||
| + | |||
| + | ---- | ||
| + | |||
| + | {{tag> | ||