EnglishFrenchSpanish

Ad


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
    Brackets
    Brackets
    Brackets is a free, modern open-source
    text editor made especially for Web
    Development. Written in HTML, CSS, and
    JavaScript with focused visual tools and
    prepr...
    Download Brackets
  • 2
    Free Pascal Compiler
    Free Pascal Compiler
    A 32/64/16-bit Pascal compiler for
    Win32/64/CE, Linux, Mac OS X/iOS,
    Android, FreeBSD, OS/2, Game Boy
    Advance, Nintendo NDS and DOS;
    semantically compatible wi...
    Download Free Pascal Compiler
  • 3
    Canon EOS DIGITAL Info
    Canon EOS DIGITAL Info
    Canon doesn�t have shutter count
    included on the EXIF information of an
    image file, as opposed to Nikon and
    Pentax. There�s no official Canon based
    application ...
    Download Canon EOS DIGITAL Info
  • 4
    rEFInd
    rEFInd
    rEFInd is a fork of the rEFIt boot
    manager. Like rEFIt, rEFInd can
    auto-detect your installed EFI boot
    loaders and it presents a pretty GUI
    menu of boot option...
    Download rEFInd
  • 5
    ExpressLuke GSI
    ExpressLuke GSI
    This SourceForge download page was to
    grant users to download my source built
    GSIs, based upon phhusson's great
    work. I build both Android Pie and
    Android 1...
    Download ExpressLuke GSI
  • 6
    Music Caster
    Music Caster
    Music Caster is a tray music player
    that lets you cast your local music to a
    Google Cast device. On the first run,
    you will need to click the arrow in your
    tas...
    Download Music Caster
  • More »

Linux commands

Ad