This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: gcc/build-make wrongly disables fixinc
On Tue, Feb 20, 2001 at 06:48:02PM -0800, Felix Lee wrote:
> ok, the huge gaping flaw in what I was doing was I
> overlooked the fact that none of the fixincludes stuff will
> actually compile on the build machine when build!=host.
>
> this is mainly because of libiberty.
For fixproto to work, you'll need a build libcpp too.
> right now, I'm thinking libiberty needs to be built 3 ways,
> for the build machine as well as for host and target. the
> alternative is kind of messy.
Yes, we've known we need to do this for some time. There is a lack of
manpower to actually do anything about it, plus a fear of breaking the
already-horrible makefiles.
If you're interested in working on this, talk to Kaveh R. Ghazi
<ghazi@caip.rutgers.edu>: he has a preliminary patch for a build
libiberty.
zw