bootstrapping gnat GCC on amd64
Daniel Eischen
eischen at vigrid.com
Tue May 5 01:19:21 UTC 2009
On Tue, 5 May 2009, xorquewasp at 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
More information about the freebsd-hackers
mailing list