Code Monkey home page Code Monkey logo

mingw-w64-build's Introduction

mingw-w64-build Build

mingw-w64-build is a Bash script for downloading and building the mingw-w64 toolchain.

Requirements

  • Linux, macOS/Darwin, or similar
  • Development environment, e.g. autotools, gcc/clang, Xcode

Installation

Copy mingw-w64-build to a directory in your PATH such as /usr/local/bin and make it executable.

Usage

The basic syntax is:

mingw-w64-build [-f | --force] [-j # | --jobs #] [--disable-gdb] target [install-dir]

Where:

  • -f, --force remove and replace existing target (overwrite)
  • -j, --jobs number of concurrent build jobs to run, default: 0 (automatic)
  • --disable-gdb disable building GDB debugger

Available targets:

  • i686
  • i686.clean
  • i686.distclean
  • x86_64
  • x86_64.clean
  • x86_64.distclean
  • pkgclean

Default installation directory is ~/toolchains/mingw-w64-<version>-gcc-<gcc_version>.

Example: build both i686 and x86_64 targets, then remove source and build files and downloaded packages, leaving only the output.

mingw-w64-build i686 && mingw-w64-build x86_64
mingw-w64-build i686.clean && mingw-w64-build x86_64.clean
mingw-w64-build pkgclean

Following successful building of each toolchain, the script provides instructions for adding the output binaries directory to your PATH.

To remove the output and start over:

mingw-w64-build i686.distclean && mingw-w64-build x86_64.distclean

Full usage:

mingw-w64-build --help

Components

  • binutils
  • config
  • gcc
  • gdb
  • gmp
  • isl
  • mingw-w64
  • mpc
  • mpfr
  • winpthreads

Display components list with version information:

mingw-w64-build --list

License

Copyright 2023 Bradley Sepos
Released under the MIT License. See LICENSE for details.

mingw-w64-build's People

Contributors

bradleysepos avatar sr55 avatar mqudsi avatar hnsteyding avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.