EnglishFrenchSpanish

OnWorks favicon

cross-gcc-gensource - Online in the Cloud

Run cross-gcc-gensource in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command cross-gcc-gensource that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


cross-gcc-gensource - generates sources to build a Debian cross toolchain

SYNOPSIS


[TARGET_LIST=<arches to target>] [HOST_LIST=<build arches>] [SUFFIX=.1] cross-gcc-gensource <gcc-version>

example:
/tmp$ TARGET_LIST="armel armhf" HOST_LIST="amd64" cross-gcc-gensource 5

.... lots of verbose output ....

/tmp$ cd cross-gcc-packages-amd64/cross-gcc-5-armel

/tmp/cross-gcc-packages-amd64/cross-gcc-5-armel$ ls

debian

/tmp/cross-gcc-packages-amd64/cross-gcc-5-armel$ dpkg-buildpackage

.... building cross-toolchain ....

DESCRIPTION


This is a utility that prepares a directory with debianized sources which build cross
toolchain packages. The sources produced by this tool are very small; the code itself
comes from the "gcc-version-source" package and the necessary patches and extra build
stuff comes from the "cross-gcc-dev" package.

ARGUMENTS


Normal usage is

cross-gcc-gensource gcc_version

Where "gcc_version" is the base version of the toolchain we're building. At the time of
this writing we know about versions 4.9, 5 and 6. This commandline argument is required.

Specifying the target architectures
This tool generates a separate source package for each target architecture (the
architecture targetted by the cross-compiler being built). By default these architectures
are targetted:

arm64
armel
armhf
mips
mipsel
powerpc
ppc64el

If a different set of target architectures is required, set the "TARGET_LIST" environment
variable. For instance, to build for "armel" and "armhf":

TARGET_LIST="armel armhf" cross-gcc-gensource 5

Specifying the host architectures
Similarly, this tool generates a separate source tree for each host architecture (the
architecture the cross-compiler being built runs on). By default these architectures are
targetted:

amd64
i386

If a different set of host architectures is required, set the "HOST_LIST" environment
variable. For instance, to build just for "amd64":

HOST_LIST="amd64" cross-gcc-gensource 5

Specifying a verison suffix
If you need to upload a new source package when the version of gcc-source built-against
hasn't changed, then you need to add a version suffix to avoid binary-version clashes. An
optional SUFFIX env var allows this.

TARGET_LIST="armel armhf" SUFFIX=.1 cross-gcc-gensource 5

Use cross-gcc-gensource online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Avogadro
    Avogadro
    Avogadro is an advanced molecular
    editor designed for cross-platform use
    in computational chemistry, molecular
    modeling, bioinformatics, materials
    science and ...
    Download Avogadro
  • 2
    XMLTV
    XMLTV
    XMLTV is a set of programs to process
    TV (tvguide) listings and help manage
    your TV viewing, storing listings in an
    XML-based format. There are utilities to
    do...
    Download XMLTV
  • 3
    strikr
    strikr
    Strikr Free Software project. Artifacts
    released under a 'intent based'
    dual license: AGPLv3 (community) and
    CC-BY-NC-ND 4.0 international
    (commercial)...
    Download strikr
  • 5
    GIFLIB
    GIFLIB
    giflib is a library for reading and
    writing gif images. It is API and ABI
    compatible with libungif which was in
    wide use while the LZW compression
    algorithm was...
    Download GIFLIB
  • 6
    Alt-F
    Alt-F
    Alt-F provides a free and open source
    alternative firmware for the DLINK
    DNS-320/320L/321/323/325/327L and
    DNR-322L. Alt-F has Samba and NFS;
    supports ext2/3/4...
    Download Alt-F
  • More »

Linux commands

  • 1
    4s-queryJ
    4s-queryJ
    4s-query � Run SPARQL queries on a
    4store storage backend ...
    Run 4s-queryJ
  • 2
    4ti2-circuits
    4ti2-circuits
    4ti2 - software package for algebraic,
    geometric and combinatorial problems on
    linear spaces ...
    Run 4ti2-circuits
  • 3
    cpufreq-set
    cpufreq-set
    cpufreq-set - A small tool which allows
    to modify cpufreq settings. SYNTAX:
    cpufreq-set [options] DESCRIPTION:
    cpufreq-set allows you to modify cpufreq
    setting...
    Run cpufreq-set
  • 4
    cpufreqd-get
    cpufreqd-get
    cpufreqd-get - Issues "get" commands to
    cpufreqd. SYNTAX: cpufreqd-get [-l]
    PARAMETERS: -l list applied Profiles for
    all cpus. DESCRIPTION: cpufreqd-get
    issues...
    Run cpufreqd-get
  • 5
    gammu
    gammu
    gammu - Does some neat things with your
    cellular phone or modem. ...
    Run gammu
  • 6
    ganglia2pcp
    ganglia2pcp
    ganglia2pcp - import ganglia data and
    create a PCP archive ...
    Run ganglia2pcp
  • More »

Ad