autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: defined(IRIX)


From: Philip Willoughby
Subject: Re: defined(IRIX)
Date: Thu, 26 Sep 2002 09:29:49 +0100 (BST)

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 address@hidden | tr "bizndfohces" "pwgd9ociaku"

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]