octave-maintainers
[Top][All Lists]
Advanced

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

Re: Is the version of MacOS available to CPP ?


From: Dr. Alexander Klein
Subject: Re: Is the version of MacOS available to CPP ?
Date: Sun, 10 Jun 2012 12:00:51 +0200

Am 09.06.2012 um 17:18 schrieb Ben Abbott:

> Is the version of MacOS X available to the preprocessor ?

Ben,

I think you can determine the minimal version that gcc needs in order to run:

uni% touch foo.h
uni% cpp -dM foo.h | grep VERSION
#define __GXX_ABI_VERSION 1002
#define __VERSION__ "4.6.1"
#define __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ 1060

It's not quite what you want, but maybe enough?

Regards,

        Alex 

-- 
Dr. Alexander Klein, Diplom-Mathematiker
Physiologisches Institut der JLU-Gießen
Aulweg 129
35392 Gießen

http://www.med.uni-giessen.de/physio/



reply via email to

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