view autovar/README.txt @ 632:ed19b429a152

- added explicit arm64 target, and clang tool options to Windows' configure.bat - configure.{bat,rc} now writing Makefile.config, for consistency/compatibility (e.g. configure.bat can now be used to set up env flags for a non-nmake toolchain) - simplified/decluttered Windows and Plan9 configure scripts (removal of unused/stale options, ...) - removed stale test/makepkg.sh helper
author Tassilo Philipp
date Sat, 19 Nov 2022 15:45:41 +0100
parents 43675cb378ce
children
line wrap: on
line source

autovar -- a small macro auto-detection library


the following gives the list of variables available.
for each variable, a separate header file is used.

OS: Operating System
ARCH: Architecture
CC: C Compiler
ABI: Application Binary Interface
OSFAMILY: OS Roots


the following gives the tree of variables

OS: 
  Win32
  Win64
  Darwin
    IOS
    MacOSX
  Linux
  FreeBSD
  OpenBSD
  NetBSD
  DragonFlyBSD
  SunOS
  Cygwin
  MinGW
  NDS
  PSP
  BeOS
  Plan9
  VMS
  Minix
  Unknown

ARCH:
  X86
  X64
  IA64
  PPC
  PPC64
  MIPS64
  MIPS
  ARM
    THUMB
  SH
  SPARC64
  SPARC

ABI:
  PE
  Mach
  ELF
    ELF32
    ELF64

OSFAMILY: 
  Windows
  Unix
  GameConsole

CC:
  INTEL
  MSVC
  GNU
  WATCOM
  PCC
  SUN