[Omake] $(MACHINE)
Aleksey Nogin
nogin at metaprl.org
Sat Nov 25 20:30:25 PST 2006
On 25.11.2006 15:48, malc wrote:
> Hello,
>
> omake-doc claims that:
> <quote>
> MACHINE
> The machine architecture, e.g. i386, sparc, etc.
> </quote>
>
> This is not quite the case however, on the athlon box running
> linux evaluating $(MACHINE) yields `i686', on powerpc linux - `ppc',
> the same machine running Mac OS X - `Power Macintosh'.
Currently we use whatever the uname system call gives us.
> It would be nice if this was somewhat more standartized, perhaps
> something like `config.guess'es host triplet?
Possibly (with $(MACHNAME)-???-$(SYSNAME)-??? being the triplet).
Alternatively, we could try rewriting config.guess in the OMake language
to compute the triplet based on the "raw" MACHNAME and SYSNAME...
Aleksey
More information about the Omake
mailing list