This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gcc-3.0] Fixinclude uw7_byteorder_fix not getting applied
- To: Bruce Korb <bkorb at pacbell dot net>
- Subject: Re: [gcc-3.0] Fixinclude uw7_byteorder_fix not getting applied
- From: Matt Schalit <mschalit at pacbell dot net>
- Date: Wed, 27 Jun 2001 22:44:13 -0700
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- References: <3B38AA3E.A32DD794@veritas.com> <3B392CDE.2E019F57@pacbell.net><3B39508D.73109762@pacbell.net> <3B3A0CA3.DFE7F64A@pacbell.net><3B3A8585.E1280381@pacbell.net> <3B3AA897.E2943F43@pacbell.net><3B3AAA13.828EEFAB@pacbell.net>
Bruce Korb wrote:
>
> Matt Schalit wrote:
> >
> > I attached the real file just to be safe. That way
> > you can look at the real file to verify it's as you
> > expect.
> >
> > Will you let me know the fix? Thanks
>
> Well, it looks like the problem is this:
>
> select = "-f $DESTDIR/sys/byteorder.h";
>
> which means that the fix will not be applied unless the
> byteorder.h file is _already_ installed in the destination
> directory. The correct version, I think, should be:
>
> select = "-f sys/byteorder.h";
>
> which means that there exists a byteorder.h file in /usr/include/sys.
> I guess the assumption is that if there is not, then there
> will not be a conflict with the declarations.
>
> Fixed (I think) and committed. Please verify, since
> I do not have a box with such problems.
>
> Regards,
> Bruce
Bruce!
Awesome. You're solution worked.
I guess I'll mention that the fix was
test = "-f sys/byteorder.h";
rather than
> select = "-f sys/byteorder.h";
as you sent in this email. But no biggy. I figured
it out ok when I applied to gcc-3.0.
Thanks again!
Matthew