[3266] in testers

home help back first fref pref prev next nref lref last post

Re: 8.1 Kerberos header files break under IRIX cc

daemon@ATHENA.MIT.EDU (Greg Hudson)
Thu Jun 19 12:24:19 1997

To: bert <bert@MIT.EDU>
Cc: testers@MIT.EDU
In-Reply-To: Your message of "Thu, 19 Jun 1997 12:20:54 EDT."
             <199706191620.MAA04880@opus.MIT.EDU> 
Date: Thu, 19 Jun 1997 12:24:11 EDT
From: Greg Hudson <ghudson@MIT.EDU>

> Unfortunately, while GCC defines "sgi", the cc on the system packs
> only defines "__sgi__".

	pyramids% cat > test.c
	#include <stdio.h>

	int main()
	{
	#ifdef sgi
	        printf("Hello, world.\n");
	#endif
	        return 0;
	}
	pyramids% cc test.c
	pyramids% ./a.out
	Hello, world.
	pyramids% 

If your theory were correct, we would have had an awful lot of trouble
compiling the release with the SGI cc, which we do.

home help back first fref pref prev next nref lref last post