EnglishFrenchSpanish

Ad


OnWorks favicon

icmbuild - Online in the Cloud

Run icmbuild in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command icmbuild 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


icmbuild - A generic, easy configurable, program maintenance script

SYNOPSIS


icmbuild [-h] [-c] args

DESCRIPTION


The icmbuild script is a generic script that can be used to do program maintenance using
icmake(1).

Icmbuild requires that the file icmconf is available in the directory where program
maintenance is requested.

Icmbuild assumes that your sources exist in and below the current working directory. The
file icmconf in icmake(1)’s distribution provides an example of an icmconf file that can
be used by icmbuild. In that example icmconf file it is assumed that C++ sources are
maintained, but program maintenance for, e.g., C sources can easily be configured.

Icmbuild() compiles all sources in each of the subdirectories named in the file CLASSES,
and then compiles all sources in the current working directory.

The compiled sources result in object modules which may be kept in a library, against
which the main-object module is linked. It is also possible to specify additional
libraries against which the program must be linked.

If a library is constructed it is kept up to date by icmbuild. When a source is
successfully compiled its new object module will replace the old one that is found in the
library. At that point the object files are no longer required and are removed by
icmbuild.

KICK-STARTING ICMBUILD


To use icmbuild do as follows:

o Install icmbuild in your path;

o copy icmconf (and probably the file CLASSES) to your project’s base directory
(i.e., the directory in which and where below the project’s sources are found);

o Modify the #defines in the file icmconf to taste;

o Enter the names of subdirectories containing sources on separate lines in the file
CLASSES

Note that the order of the classes mentioned in CLASSES is relevant. New class
(subdirectory) names can always be added, but reordering the lines in the CLASSES
file should be avoided. If reordering is necessary, then first run the command
icmbuild clean to remove all files thus far created by icmbuild. Recompilation is
necessary as the names of the object files contain class order-numbers for
identification. These class-order numbers prevent file-name collisions (e.g., two
classes might use a file data.cc) and thus replacement of a file x.o from class A
by file x.o from class B is prevented;

o Now simply run

icmbuild -h

from the project’s base directory and let the help-info tell you what your options
are. See the next section for the modes of operation.

OPTIONS


Icmbuild recognizes two options, at most one should be specified:

o -h: Provide a short usage overview.

o -c: Clear the screen (using tput clear) before starting the compilation process

Following the optional -c icmbuild() the following arguments may be passed to icmbuild:

o clean
clean up remnants of previous activities

o library
build the library (static and optionally the dynamic library)

o program
build the binary program

o program strip
build the stripped binary program

o install program path install the constructed program in the specified path (to be
used after issuing icmbuild program)

o install static path install the constructed static library in the specified path
(to be used after issuing icmbuild library)

o install shared path install the constructed shared library in the specified path
(to be used after issuing icmbuild library) After adding a line to icmconf
containing

#define DEFCOM "program"

icmbuild by default uses the argument program. After adding

#define DEFCOM "strip"

icmbuild by default uses the argument strip. After adding

#define DEFCOM "library"

icmbuild by default uses the argument library.

DEFCOM is ignored when an explicit operational mode is passed to icmbuild.

Use icmbuild online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Phaser
    Phaser
    Phaser is a fast, free, and fun open
    source HTML5 game framework that offers
    WebGL and Canvas rendering across
    desktop and mobile web browsers. Games
    can be co...
    Download Phaser
  • 2
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 3
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 4
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 5
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 6
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • More »

Linux commands

  • 1
    abidiff
    abidiff
    abidiff - compare ABIs of ELF files
    abidiff compares the Application Binary
    Interfaces (ABI) of two shared libraries
    in ELF format. It emits a meaningful
    repor...
    Run abidiff
  • 2
    abidw
    abidw
    abidw - serialize the ABI of an ELF
    file abidw reads a shared library in ELF
    format and emits an XML representation
    of its ABI to standard output. The
    emitted ...
    Run abidw
  • 3
    copac2xml
    copac2xml
    bibutils - bibliography conversion
    utilities ...
    Run copac2xml
  • 4
    copt
    copt
    copt - peephole optimizer SYSNOPIS:
    copt file.. DESCRIPTION: copt is a
    general-purpose peephole optimizer. It
    reads code from its standard input and
    writes an ...
    Run copt
  • 5
    gather_stx_titles
    gather_stx_titles
    gather_stx_titles - gather title
    declarations from Stx documents ...
    Run gather_stx_titles
  • 6
    gatling-bench
    gatling-bench
    bench - http benchmark ...
    Run gatling-bench
  • More »

Ad