[13950] in Athena Bugs
Re: sun4 7.7T: suncc missing a define ...
daemon@ATHENA.MIT.EDU (cfields@MIT.EDU)
Wed Oct 25 14:17:35 1995
From: cfields@MIT.EDU
Date: Wed, 25 Oct 95 14:17:26 -0400
To: jawetzel@MIT.EDU
Cc: bugs@MIT.EDU
> % suncc -Xc -o foo foo.c
> "foo.c", line 36: undefined symbol: MAXDOUBLE
> cc: acomp failed for foo.c
>
> Shouldn't the compiler what architecture its running on?
It does until you lobotomize it. Remove the -Xc; from suncc's manual
page:
-Dname[=token]
Associates name with the specified token as if by a
#define preprocessing directive. If no =token is
specified, the token 1 is supplied.
Predefinitions:unix
sparc (SPARC only)
i386 (x86 only)
sun
The above are not predefined in -Xc mode.
I don't know the rationale for this.
Craig