Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update UNIX-GETPARM to return values for OSNAME and ARCH #495

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

nbriggs
Copy link
Collaborator

@nbriggs nbriggs commented Mar 22, 2024

Calls to UNIX-GETPARM with argument "OSNAME" or "ARCH" now return values derived from the compile-time settings in inc/maiko/platform.h. Relates to Interlisp/medley#1596

The current return values are
OSNAME:

  • "macOS"
  • "Cygwin"
  • "DragonFly BSD"
  • "FreeBSD"
  • "Linux"
  • "NetBSD"
  • "OpenBSD"
  • "AmigaOS 3"
  • "Solaris"
  • "Windows"
  • "Emscripten"

ARCH:

  • "WebAssembly"
  • "x86_64"
  • "arm"
  • "arm64"
  • "x86"
  • "PowerPC"
  • "RISC-V"
  • "SPARC"
  • "Motorola68K"

Calls to UNIX-GETPARM with argument "OSNAME" or "ARCH" now return
values derived from the compile-time settings in inc/maiko/platform.h

The current return values are
OSNAME:
    "macOS"
    "Cygwin"
    "DragonFly BSD"
    "FreeBSD"
    "Linux"
    "NetBSD"
    "OpenBSD"
    "AmigaOS 3"
    "Solaris"
    "Windows"
    "Emscripten"
ARCH:
    "WebAssembly"
    "x86_64"
    "arm"
    "arm64"
    "x86"
    "PowerPC"
    "RISC-V"
    "SPARC"
    "Motorola68K"
@nbriggs nbriggs merged commit 95f4ac8 into master Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant