On Wed, Jun 02, 1999 at 10:14:42AM -0400, Horst von Brand wrote:
> The test in yesterdays CVS says:
> 
> IS_EGCS := $(shell if $(CC) --version 2>&1 | grep 'egcs' > /dev/null; then echo 
> y; else echo n; fi)
> 
> My egcs snapshot (19990524, pre-2.95) here says:
> 
> vonbrand@pincoya$ gcc --version
> gcc-2.95

Thanks for pointing it out.
I've replaced the checks with something like:
IS_EGCS := $(shell if $(CC) -c -m64 -mcmodel=medlow -o /dev/null 
arch/sparc64/math-emu/fnegq.c >/dev/null 2>&1; then echo y; else echo n; fi)

(so that it tests if the switches in question are supported or not).
BTW: Current egcs (both gcc-2.96 and 2.95) compile a "somewhat working" 64bit
kernel, so I guess I'm not going to switch to these for the 64bit kernel any
time soon (the uptime on a loaded E3500 with 2.2.9 compiled by that egcs was
1-3 days, which is pretty bad. egcs as of Oct98 works fine. I bet it is
because of some asm constraints or whatever, but haven't tracked it down
yet).

Cheers,
    Jakub
___________________________________________________________________
Jakub Jelinek | [EMAIL PROTECTED] | http://sunsite.mff.cuni.cz
Administrator of SunSITE Czech Republic, MFF, Charles University
___________________________________________________________________
UltraLinux  |  http://ultra.linux.cz/  |  http://ultra.penguin.cz/
Linux version 2.3.4 on a sparc64 machine (1343.49 BogoMips)
___________________________________________________________________
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of the message to [EMAIL PROTECTED]

Reply via email to