Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Script to build all GDBs

Hi,

Simon Marchi contributed a nice script for Linux/Mac that allows to download and build the different versions of GDB we can use for testing.  With one line you can get all those GDBs on your machine named as our JUnit tests expect them to be.

I can also be used to install a new GDB version after it is released (although the scripts need a quick update first to add the new version).

Thanks Simon!

dsf-gdb/org.eclipse.cdt.tests.dsf.gdb/scripts/download-build-gdb.sh -h
Usage:
  download-build-gdb.sh [OPTIONS] [VERSIONS|all]

Description:
  This script downloads, builds and installs the given versions of gdb.
  Passing "all" to the script is the same as passing all the supported versions.

Options:
  -b, --base-dir PATH  Set the base directory for downloading, building and
                       installing the gdbs (default: /home/lmckhou/gdb-all).
  -d, --dry-run        Make a dry-run: print the commands instead of executing
                       them.
  -h, --help           Print this help message and exit.
  -j, --jobs N         Number of parallel jobs while making. N is passed
                       directly to make's -j (default: 4).

Supported versions:
  6.6 6.7.1 6.8 7.0.1 7.1 7.2 7.3.1 7.4.1 7.5.1 7.6.2 7.7.1 7.8.1


Back to the top