Re: Problem with "make menuconfig" and "make xconfig"

Horst von Brand (vonbrand@sleipnir.valparaiso.cl)
Sun, 17 May 1998 21:19:11 -0400


Michael Elizabeth Chastain <mec@shout.net> said:
> > $(shell $(AS) --version &> ./GAS_VER)
>
> I don't have time to look into this extensively right now,
> but I suggest this (without trying it myself):
>
> $(shell $(AS) --version > ./GAS_VER 2>&1)

Note that this will only work on Bourne shell clones. A csh(1) clone needs
'>&' instead of '&>', and the above just won't work. Clearly, to use csh(1)
or tcsh(1) as sh(1) is very broken... perhaps the Makefiles have to make
sure somewhere that sh(1) (or a Bourne shell clone) is being used?

BTW, as from binutils-2.9.1.0.4 doesn't write to stderr when asked for its
--version, just checked here (i586), and I believe you should be using that
one anyway, so the &>, >&, 2>&1 bussiness is moot?

-- 
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viņa del Mar, Chile                               +56 32 672616

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu