bootstrapping gnat GCC on amd64

xorquewasp at googlemail.com xorquewasp at googlemail.com
Tue May 19 06:04:09 UTC 2009


On 2009-05-18 18:36:15, Daniel Eischen wrote:
> Hmm, if the system binutils is 2.15, then it should build
> as a cross.  You can do a cross build of all FreeBSD - I
> think you just set TARGET="amd64" to build amd64 from
> a different arch.  Part of this process should be to
> create a cross binutils toolset.

Ok.

Silly question - is it actually possible to build contrib/binutils
(including TARGET=amd64) without building the whole tree? Trying
the obvious:

  cd /usr/obj
  /usr/src/contrib/binutils/configure \
    --target=x86_64-pc-freebsd7.2     \
    --host=i386-pc-freebsd7.2         \
    --build=i386-pc-freebsd7.2        \
    --prefix=/cross/x86_64

.. Didn't work (didn't really expect it to).

xw


More information about the freebsd-hackers mailing list