[PATCH] Make fixinc work on BeOS

Bruce Korb bkorb@sco.COM
Mon Nov 20 13:33:00 GMT 2000


Daniel Berlin wrote:
> 
> Just in case it got lost in the noise.
> 
> This patch makes fixinc work on BeOS, while not breaking any other
> platform.
> --Dan

It breaks every platform that is not using gmake. :-(
It will have to be fixed with configury magic.

> Subject: [PATCH] Make fixinc work on BeOS
> Date: Fri, 17 Nov 2000 20:59:30 -0800 (PST)
> From: Daniel Berlin <dberlin@cygnus.com>
> To: gcc-patches@gcc.gnu.org
> 
> This patch makes fixinc work on BeOS, and modifies Makefile.in to do the
> right thing for BeOS (It needs to build applyfix on BeOS as well).
> 
> I modified Makefile.in to build applyfix if it's target is i586-pc-beos,
> and include the right objects in fixinclude if the target is i586-pc-beos.
> 
> (On BeOS, the target is guaranteed to be this, not i386, i486, etc. It
> will always be i586-pc-beos, unless someone has specfically tried to
> override it, in which case, they are cruisin for a bruisin)
> 
> I also changed Makefile.in to have install-bin depend on $(TARGETS),
> rather than fixincl, which seems to be the right thing to do anyway.
> 
> Fixinc works fine on BeOS with this patch.
> 
> Also, this patch reverts the fixinc part of Jason's commit, please delete
> that portion if his commit to stop fixincs has been reverted.

> diff -c -3 -p -r1.24 Makefile.in
> *** Makefile.in 2000/08/30 22:57:10     1.24
> --- Makefile.in 2000/11/18 04:54:17

> + ifneq ($(target), i586-pc-beos)
> + OBJ += fixfixes.o
> + endif

> ! ifeq ($(target), i586-pc-beos)
> ! TARGETS += applyfix
> ! endif


More information about the Gcc-patches mailing list