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

Re: [Scheme-reports] Features



On Tue, Nov 5, 2013 at 10:15 AM, John Cowan <cowan@x> wrote:
Michael Montague scripsit:

> Look at the table in http://en.wikipedia.org/wiki/Uname

Another source is to run (at configuration time) either "gcc -dumpmachine"
or "clang -dumpmachine", whichever you are using.  This produces
a triple that you can then check for whether it contains various strings.

> If someone has a better solution, I am happy to use it.

To answer your question about Chibi, the implementation only cares about
BSD/Windows/other, so it supports only the "bsd" and "windows" features.

Actually "linux", "macosx", "windows", "mingw", "cygwin", "unix", "bsd", and "plan9",
mostly determined by grepping the output of uname (see Makefile.detect).

It also has "little-endian" and "big-endian", but currently no more specific
architectures.

-- 
Alex

_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports