xfs
[Top] [All Lists]

Re: kgcc now required ??

To: unlisted-recipients:; (no To-header on input)
Subject: Re: kgcc now required ??
From: Russell Cattelan <cattelan@xxxxxxxxxxx>
Date: Sun, 11 Feb 2001 13:00:40 -0600
Cc: linux-xfs@xxxxxxxxxxx
References: <kszysiu@braxis.co.uk> <200102111503.f1BF3lH19265@jen.americas.sgi.com> <20010211180214.J16362@suse.de> <3A86C9FC.EE891A9@sgi.com> <20010211183719.A11057@caldera.de>
Sender: owner-linux-xfs@xxxxxxxxxxx
Christoph Hellwig wrote:

> On Sun, Feb 11, 2001 at 11:21:00AM -0600, Eric Sandeen wrote:
> > Jens Axboe wrote:
> >
> > > But can we at least get a decent work-around, that doesn't barf
> > > if kgcc isn't available? It seems rather silly to assume gcc
> > > is borken.
> >
> > As of 2.4.0, the official Makefile uses:
> >
> > CC :=$(shell if which $(CROSS_COMPILE)kgcc > /dev/null 2>&1; then echo
> > $(CROSS_COMPILE)kgcc; else echo $(CROSS_COMPILE)gcc; fi) -D__KERNEL__
> > -I$(HPATH)
>
> No - you seem to use some patched (-ac?) tree.

There has been some debate as to the best way to do this.
The extra shell invocation for every file compiled could be a bit
expensive.

I think most people brave enough to compile their own kernel
should be able to edit the Makefile and adjust the compiler line.




>
>
>         Christoph
>
> --
> Of course it doesn't work. We've performed a software upgrade.


<Prev in Thread] Current Thread [Next in Thread>