diff options
Diffstat (limited to 'hurd/building/cross-compiling.mdwn')
-rw-r--r-- | hurd/building/cross-compiling.mdwn | 118 |
1 files changed, 66 insertions, 52 deletions
diff --git a/hurd/building/cross-compiling.mdwn b/hurd/building/cross-compiling.mdwn index 81303b0a..80239860 100644 --- a/hurd/building/cross-compiling.mdwn +++ b/hurd/building/cross-compiling.mdwn @@ -33,24 +33,37 @@ installed in the upstream repositories. The following ones are known to work. Others may work as well, but no guarantee is given. Always the preferred version is listed first. -* `src/binutils`: [[GNU_Binutils|binutils]] + * `src/binutils`: [[GNU_Binutils|binutils]] - * CVS `binutils-2_18-branch` + * CVS `binutils-2_19-branch` + + $ mkdir binutils-2_19-branch + $ cd binutils-2_19-branch + $ cvs -d:pserver:anoncvs@sources.redhat.com:/cvs/src ↩ + co -r binutils-2_19-branch binutils + + The sources are rooted in `binutils-2_19-branch/src/`. Also use these + commands for updating, instead of the usual `cvs update`. + + * The 2.19 release tarball from <ftp://ftp.gnu.org/gnu/binutils/> should + also be fine. + + * CVS `binutils-2_18-branch` $ mkdir binutils-2_18-branch $ cd binutils-2_18-branch - $ cvs -d:pserver:anoncvs@sources.redhat.com:/cvs/src \ - co -r binutils-2_18-branch binutils + $ cvs -d:pserver:anoncvs@sources.redhat.com:/cvs/src ↩ + co -r binutils-2_18-branch binutils The sources are rooted in `binutils-2_18-branch/src/`. Also use these commands for updating, instead of the usual `cvs update`. - * The 2.18 release tarball from <ftp://ftp.gnu.org/gnu/binutils/> should + * The 2.18 release tarball from <ftp://ftp.gnu.org/gnu/binutils/> should also be fine, as should be all other recent releases. -* `src/gcc`: [[GNU_Compiler_Collection|gcc]] + * `src/gcc`: [[GNU_Compiler_Collection|gcc]] - * SVN `gcc-4_1-branch` + * SVN `gcc-4_1-branch` $ svn co svn://gcc.gnu.org/svn/gcc/branches/gcc-4_1-branch @@ -58,29 +71,40 @@ guarantee is given. Always the preferred version is listed first. $ ( cd gcc-4_1-branch/ && contrib/gcc_update --touch ) - * Recent releases of the 4.1 series from <ftp://ftp.gnu.org/gnu/gcc/> - should also be fine. + * Releases of the 4.1 series from <ftp://ftp.gnu.org/gnu/gcc/> should + also be fine. - * SVN `gcc-4_2-branch` + * SVN `gcc-4_2-branch` $ svn co svn://gcc.gnu.org/svn/gcc/branches/gcc-4_2-branch + * Patches: + <http://lists.gnu.org/archive/html/bug-hurd/2007-11/msg00034.html> + Prepare: $ ( cd gcc-4_2-branch/ && contrib/gcc_update --touch ) - * Patches: + * Releases of the 4.2 series from <ftp://ftp.gnu.org/gnu/gcc/> should + also be fine, but need the same set of patches as the `gcc-4_2-branch` + needs. + + * SVN `gcc-4_3-branch` + + $ svn co svn://gcc.gnu.org/svn/gcc/branches/gcc-4_3-branch + + * Patches: <http://lists.gnu.org/archive/html/bug-hurd/2007-11/msg00034.html> - * Recent releases of the 4.2 series from <ftp://ftp.gnu.org/gnu/gcc/> - should also be fine, but need the same set of patches as the - `gcc-4_2-branch` needs. + Prepare: + + $ ( cd gcc-4_3-branch/ && contrib/gcc_update --touch ) - <!-- - GCC 4.3 has not yet been released. - * SVN `gcc-4_3-branch` - --> - * SVN `trunk` -- upcoming 4.3 series + * Releases of the 4.3 series from <ftp://ftp.gnu.org/gnu/gcc/> should + also be fine, but need the same set of patches as the `gcc-4_3-branch` + needs. + + * SVN `trunk` -- upcoming 4.4 series $ svn co svn://gcc.gnu.org/svn/gcc/trunk @@ -88,31 +112,21 @@ guarantee is given. Always the preferred version is listed first. $ ( cd trunk/ && contrib/gcc_update --touch ) - * Patches: - <http://lists.gnu.org/archive/html/bug-hurd/2007-12/msg00029.html> - - <!-- - GCC 4.3 has not yet been released. - * Recent releases of the 4.3 series from <ftp://ftp.gnu.org/gnu/gcc/> - should also be fine, but need the same set of patches as the - `gcc-4_3-branch` needs. - --> - -* `src/gnumach`: [[microkernel/mach/GNU_Mach]] + * `src/gnumach`: [[GNU_Mach|microkernel/mach/gnumach]] - * CVS `gnumach-1-branch` + * CVS `gnumach-1-branch` - $ cvs -d:pserver:anoncvs@cvs.gnu.org:/cvsroot/hurd \ - co -r gnumach-1-branch gnumach + $ cvs -d:pserver:anoncvs@cvs.gnu.org:/cvsroot/hurd ↩ + co -r gnumach-1-branch gnumach $ mv gnumach gnumach-1-branch Prepare: $ ( cd gnumach-1-branch/ && autoreconf -vfi ) -* `src/mig`: [[microkernel/mach/mig/GNU_MIG]] + * `src/mig`: [[microkernel/mach/mig/GNU_MIG]] - * CVS `HEAD` + * CVS `HEAD` $ cvs -d:pserver:anoncvs@cvs.gnu.org:/cvsroot/hurd co mig @@ -120,55 +134,55 @@ guarantee is given. Always the preferred version is listed first. $ ( cd mig/ && autoreconf -vfi ) -* `src/hurd`: [[GNU_Hurd|hurd]] + * `src/hurd`: [[GNU_Hurd|hurd]] - * CVS `HEAD` + * CVS `HEAD` $ cvs -d:pserver:anoncvs@cvs.gnu.org:/cvsroot/hurd co hurd -* `src/glibc`: [[GNU_C_Library|glibc]] + * `src/glibc`: [[GNU_C_Library|glibc]] - * CVS `glibc-2_7-branch` + * CVS `glibc-2_7-branch` - $ cvs -d:pserver:anoncvs@sources.redhat.com:/cvs/glibc \ - co -r glibc-2_7-branch glibc + $ cvs -d:pserver:anoncvs@sources.redhat.com:/cvs/glibc ↩ + co -r glibc-2_7-branch glibc $ mv libc glibc-2_7-branch - * Patches: + * Patches: <http://lists.gnu.org/archive/html/bug-hurd/2007-11/msg00030.html> - * Recent releases of the 2.7 series from <ftp://ftp.gnu.org/gnu/glibc/> + * Recent releases of the 2.7 series from <ftp://ftp.gnu.org/gnu/glibc/> should also be fine, but need the same set of patches as the `glibc-2_7-branch` needs. <!-- - * CVS `HEAD` + * CVS `HEAD` - $ cvs -d:pserver:anoncvs@sources.redhat.com:/cvs/glibc \ - co glibc + $ cvs -d:pserver:anoncvs@sources.redhat.com:/cvs/glibc ↩ + co glibc $ mv libc glibc-HEAD - * TODO. + * TODO. <http://lists.gnu.org/archive/html/bug-hurd/2007-11/msg00026.html> --> <!-- -* `src/gdb`: [[GNU_Debugger|gdb]] + * `src/gdb`: [[GNU_Debugger|gdb]] This is optional and will only be compiled if present. - * CVS `gdb_6_6-branch` + * CVS `gdb_6_6-branch` - $ cvs -d:pserver:anoncvs@sources.redhat.com:/cvs/src \ - co -r gdb_6_6-branch gdb + $ cvs -d:pserver:anoncvs@sources.redhat.com:/cvs/src ↩ + co -r gdb_6_6-branch gdb $ mv src gdb_6_6-branch Also needs some patch because of MIG changes, if I remember correctly. - * Recent tarballs from <ftp://ftp.gnu.org/gnu/gdb/> should also work. + * Recent tarballs from <ftp://ftp.gnu.org/gnu/gdb/> should also work. --> |