[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cross-gnu
From: |
Thomas Schwinge |
Subject: |
Re: cross-gnu |
Date: |
Sun, 25 Nov 2007 16:31:39 +0100 |
User-agent: |
Mutt/1.5.11 |
Hello!
On Fri, Nov 23, 2007 at 09:14:28PM +0530, Shakthi Kannan wrote:
> Thanks for the code and documentation. I have been able to
> successfully build the toolchain on Debian Etch+unstable+testing
> (x86).
Glad that it works!
> I kept the sources in:
> .../build/root/src/gnumach
> /mig
> /hurd
> /binutils
> /gcc
> /glibc
>
> Some clarifications:
>
> 1. cvs check-out of binutils has all sources in src/ directory. But,
> cross-gnu looks at binutils/configure script. I had to move the
> sources to binutils top-level directory.
As I write on
<http://www.bddebian.com/~wiki/hurd/building/cross-compiling/>: ``The
sources are rooted in `binutils-2_18-branch/src/'.'' I don't describe to
move them someplace else, so that one is easily able to update the
checkout of the `binutils-2_18-branch'. Later I write: ``Create a
directory where the cross build shall be rooted in and a `src'
subdirectory in there. Then create symbolic links for every of the above
packages: from `src/PACKAGE' to where you stored or unpacked it.'' I'll
think about a way to make this better understandable.
> 2. I downloaded the patches for glibc-2_7-branch:
> http://www.schwinge.homeip.net/~thomas/tmp/glibc-patches/
>
> The following two patches:
>
> 0009-2007-07-22-version-of-init-first.c_vs._GCC_4.1.patch.patch
> 0011-2007-02-08-version-of-resolv_res_send.c.patch.patch
>
> have to be used with -p0 to patch inside glibc-2_7-branch, as follows:
Might be. I don't really pay attention to such things.
> The rest of the steps worked like a charm! The total space occupied
> including .../build/root/src/*.obj is 1.5 GB.
>
> Thanks!
Good, good.
Regards,
Thomas
signature.asc
Description: Digital signature
Re: cross-gnu, Thomas Schwinge, 2007/11/17