Yesterday, Bill Moseley wrote:

>Does anyone know what macro name I can use to detect when running on IRIX
>6.5?  I don't have access to the machine so I can't poke around headers.
>I'm not sure if there's an autoconf solution, or if I just need to find out
>what name I can use.

Why do you need to know if it's IRIX?  There probably isn't an autoconf
test since the philosophy of autoconf is to test for features and not
platforms. Have you looked on ac-archive for a test for the feature/bug you
need to detect? (http://www.gnu.org/software/ac-archive)

>Can I get gcc to dump the defined macros?A

According to the man page the correct invocation is:

gcc -E -dM <sourcefile.c>

Regards,

Philip Willoughby

Systems Programmer, Department of Computing, Imperial College, London, UK
-- 
echo [EMAIL PROTECTED] | tr "bizndfohces" "pwgd9ociaku"

Why reinvent the wheel? . . . . . . . . . Because we can make it rounder...



Reply via email to