This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 2.95,2 bug; can not create cross compiler


> 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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]