EnglishFrenchSpanish

OnWorks favicon

klcc - Online in the Cloud

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

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


klcc - compile a program against klibc

SYNOPSIS


klcc [gcc options] [-o outfile] infile...

DESCRIPTION


klcc is a wrapper around gcc(1) and ld(1) which compiles and links a program against the
klibc tiny C library. It supports most gcc options.

Unlike gcc, klcc compiles with optimization on by default. Furthermore, the optimization
level used depends on whether or not -g is specified, since klcc frequently uses options
in the normal case which makes debugging impossible. Therefore, compile without -g, -O,
-f or -m option to use the default optimization level; this will generally result in the
smallest binaries. You may want to use -s when linking, however. Use -O0 to compile
without any optimization whatsoever; this may not work depending on the version of gcc
used.

-nostdinc
allows to turn off klibc include files.

Use the -shared or -static option to compile for and link against shared or static klibc.
Note that shared klibc only supports running against the exact same klibc binary as the
binary was linked with.

In addition to standard gcc options, klcc supports options of the form -print-klibc-
option, which prints the corresponding klibc configuration option.

Use klcc online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 2
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 3
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 4
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 5
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 6
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • More »

Linux commands

Ad