Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 May 2009 14:59:17 +0100
From:      xorquewasp@googlemail.com
To:        Daniel Eischen <eischen@vigrid.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: bootstrapping gnat GCC on amd64
Message-ID:  <20090519135917.GA5391@logik.internal.network>
In-Reply-To: <Pine.GSO.4.64.0905190945330.25229@sea.ntplx.net>
References:  <20090505022151.GA32477@logik.internal.network> <Pine.GSO.4.64.0905042224180.16666@sea.ntplx.net> <20090506140325.GA69468@logik.internal.network> <Pine.GSO.4.64.0905061043420.26946@sea.ntplx.net> <20090506152222.GC69468@logik.internal.network> <20090508211022.GA37475@logik.internal.network> <20090518084831.GA95354@logik.internal.network> <Pine.GSO.4.64.0905181828110.20749@sea.ntplx.net> <20090519114548.GA8610@logik.internal.network> <Pine.GSO.4.64.0905190945330.25229@sea.ntplx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2009-05-19 09:51:08, Daniel Eischen wrote:
>
> Even so, you shouldn't need a cross-binutils, only a native
> (amd64) binutils.  Your port won't be a cross port, but a
> native amd64 port.  The native amd64 GNAT will need a native
> binutils, not a cross binutils.  The only thing you will have
> to make is a minimal bootstrap (native amd64) compiler.
>
> Of course you can create a cross port if you want to facilitate
> cross builds for ports that don't exist yet, but no one running
> amd64 will want to make a cross build when they can make a
> faster native build with less dependencies.

'lo,

Sorry, I should have been a bit clearer there. I mean if in the
very worst case, I can't get by with the system binutils, I can
create a "native" set of recent binutils using the cross-binutils
port:

  cd /usr/ports/devel/cross-binutils
  make TGTARCH=x86_64 TGTABI=freebsd7.2 install

That way, the port can just depend on those and I won't have to
create my own binutils port.

Like I said, I'm hoping this won't happen.

Current status is that I have a working native AMD64 GNAT using
2.19 binutils!

$ gcc44 -v
Using built-in specs.
Target: x86_64-pc-freebsd7.2
Configured with: /usr/jails/i386/root/gcc-4.4.0/configure
  --build=x86_64-pc-freebsd7.2
  --enable-languages=c,ada
  --disable-nls
  --with-system-zlib
  --with-libiconv-prefix=/usr/local
  --program-suffix=44
  --bindir=/usr/local/bin/gcc44
  --libdir=/usr/local/lib/gcc-4.4.0
  --prefix=/usr/local
  --mandir=/usr/local/man
  --infodir=/usr/local/info/gcc44
Thread model: posix
gcc version 4.4.0 (GCC) 

Needless to say, I'm pretty pleased.

xw



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090519135917.GA5391>