GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — sratom/INSTALL.md at main · lv2/sratom

Expand file tree

/

INSTALL.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
77 lines (49 loc) · 2.01 KB
/

INSTALL.md

Copy path

File metadata and controls

77 lines (49 loc) · 2.01 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Installation Instructions

Prerequisites

To build from source, you will need:

  • A relatively modern C compiler (GCC, Clang, and MSVC are known to work).

  • Meson, which depends on Python.

This is a brief overview of building this project with meson. See the meson documentation for more detailed information.

Configuration

The build is configured with the setup command, which creates a new build directory with the given name:

meson setup build

Some environment variables are read during setup and stored with the configuration:

  • CC: Path to C compiler.
  • CFLAGS: C compiler options.
  • LDFLAGS: Linker options.

However, it is better to use meson options for configuration. All options can be inspected with the configure command from within the build directory:

cd build
meson configure

Options can be set by passing C-style "define" options to configure:

meson configure -Dc_args="-march=native" -Dprefix="/opt/mypackage/"

Note that some options, such as strict and werror are for developer/maintainer use only. Please don't file issues about anything that happens when they are enabled.

Building

From within a configured build directory, everything can be built with the compile command:

meson compile

Similarly, tests can be run with the test command:

meson test

Meson can also generate a project for several popular IDEs, see the backend option for details.

Installation

A compiled project can be installed with the install command:

meson install

You may need to acquire root permissions to install to a system-wide prefix. For packaging, the installation may be staged to a directory using the DESTDIR environment variable or the --destdir option:

DESTDIR=/tmp/mypackage/ meson install

meson install --destdir=/tmp/mypackage/
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.