Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: gcc header inclusion in netbsd-current



One of the difficulties of building Ada in that the gcc Ada front-end is written in Ada. So, you need a working Ada compiler to compile it. I originally cross built my bootstrap compiler on a FreeBSD system for the initial gcc34 packages.

On 02/03/10 08:36, fulvio ciriaco wrote:
Ok, sorry, it has nothing to do with current,
it is actually a problem with pkgsrc.
In lang/gcc34, when one issues:
make BUILD_ADA=YES ALT_GCC=/usr/pkg/gcc34-bootstrap/bin/gcc

/usr/bin/gcc is substituted with a bash script reciting:
#!/bin/sh
exec /usr/pkg/gcc34-bootstrap/bin/./gcc "$@"

Boh?
Fulvio

From: Joerg Sonnenberger<joerg%britannica.bec.de@localhost>
Subject: Re: gcc header inclusion in netbsd-current
Date: Wed, 3 Feb 2010 15:52:28 +0100

On Wed, Feb 03, 2010 at 03:46:39PM +0100, fulvio ciriaco wrote:
there is some problem with system header inclusion.

GCC has its own version of various headers, which might not be
compatible with the system ones.

Joerg


--

John R. Shannon


Home | Main Index | Thread Index | Old Index