This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 2.95,2 bug; can not create cross compiler
- To: schwab at suse dot de
- Subject: Re: 2.95,2 bug; can not create cross compiler
- From: Mike Stump <mrs at windriver dot com>
- Date: Mon, 29 Nov 1999 16:15:16 -0800 (PST)
- Cc: gcc-patches at gcc dot gnu dot org, gcc at gcc dot gnu dot org
> To: Mike Stump <mrs@windriver.com>
> References: <199911232233.OAA11923@kankakee.wrs.com>
> From: Andreas Schwab <schwab@suse.de>
> Date: 24 Nov 1999 14:47:15 +0100
> I have already send different patches for this bug, but Jeffrey Law even
> neglects that this bug exits, although it is easily reproducible.
Does it work with --with-headers? If I understand
http://egcs.cygnus.com/ml/gcc-patches/1999-09/msg01195.html correctly,
it doesn't. Now, I agree, it could be made to work with it. Also, I
wonder if -I is the right flag for sys-include (or even .../include)?
> This is bad, it requires root permissions while building which is not
> acceptable.
Yes, it does, as I noted in my mail, but bear in mind, if one uses
--with-headers, we already require write permissions. If you feel
strongly about this being wrong, we'd welcome a patch to have
with-headers install into the build directory sys-include, and then
arrange for the build to use that copy, and then during the install,
to install these headers.
I think I like your solution over mine. I reviewed your patch, and it
seems reasonable. I wasn't sure exactly why you switched the -B order
(and you didn't say), but I'm sure you had your reason.