Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 May 2009 20:54:46 -0400 (EDT)
From:      Daniel Eischen <eischen@vigrid.com>
To:        xorquewasp@googlemail.com
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: bootstrapping gnat GCC on amd64
Message-ID:  <Pine.GSO.4.64.0905042052320.16666@sea.ntplx.net>
In-Reply-To: <20090505005128.GA4519@logik.internal.network>
References:  <20090504182714.GA52480@logik.internal.network> <Pine.GSO.4.64.0905041432000.16666@sea.ntplx.net> <20090504185644.GA16315@logik.internal.network> <Pine.GSO.4.64.0905041459500.16666@sea.ntplx.net> <20090505005128.GA4519@logik.internal.network>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 5 May 2009, xorquewasp@googlemail.com wrote:

> On 2009-05-04 15:03:32, Daniel Eischen wrote:
>> Right, you should be able to do it from either of those,
>> but perhaps the freebsd x86 may be easier.
>>
>> I would use a PREFIX other than /usr/local (or something
>> different than whatever your actual PREFIX is) for the
>> builds.
>>
>> I was looking around for my notes but can't find them.
>> If I do find them, I'll post them.
>
> I've built an i386 jail and am currently building the
> gnat-gcc43 port to compile a GNAT cross-compiler (i386 ->
> amd64).
>
> There are two reasons for this whole exercise: I just moved
> over to amd64 and want a native toolchain and I also have a
> lot of software written in Ada that I'd like to submit to
> FreeBSD ports but can't due a lack of an Ada compiler on amd64.
>
> I noticed that the gnat-gcc43 port downloads a rather
> anonymous set of gcc 4.1 bootstrap binaries. I assume I'd
> have to provide my own in the same manner to create a port?

Yes, you can look at my lang/gnat port to find its
bootstrap compiler.  I would recommend making a binary
bootstrap compiler on the earliest version of FreeBSD
amd64 as you can.  If you use 8.0-current for instance,
others will not be able to build the port on 7.x.

-- 
DE



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