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



klcc - compile a program against klibc


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


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

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
    A set of Python extension modules that
    wrap the cross-platform GUI classes from
    wxWidgets.. Audience: Developers. User
    interface: X Window System (X11), Win32 ...
    Download wxPython
  • 2
    This is the Total War pack file manager
    project, starting from version 1.7. A
    short introduction into Warscape
    modding: ...
    Download packfilemanager
  • 3
    A network traffic tool for measuring
    TCP and UDP performance with metrics
    around both throughput and latency. The
    goals include maintaining an active
    iperf cod...
    Download IPerf2
  • 4
    fre:ac - free audio converter
    fre:ac - free audio converter
    fre:ac is a free audio converter and CD
    ripper for various formats and encoders.
    It features MP3, MP4/M4A, WMA, Ogg
    Vorbis, FLAC, AAC, and Bonk format
    support, ...
    Download fre:ac - free audio converter
  • 5
    Write your chatbot logic once and
    connect it to one of the available
    messaging services, including Amazon
    Alexa, Facebook Messenger, Slack,
    Telegram or even yo...
    Download BotMan
  • 6
    gerbv  a Gerber (RS-274X) viewer
    gerbv a Gerber (RS-274X) viewer
    Gerbv is an open source Gerber file
    (RS-274X only) viewer. Gerbv lets you
    load several files on top of each other,
    do measurements on the displayed image,
    etc. ...
    Download gerbv a Gerber (RS-274X) viewer
  • 7
    I/O performance Analysis Tool.
    Audience: Developers, Information
    Technology, Science/Research, System
    Administrators. User interface: Win32
    (MS Windows). Progr...
    Download Iometer
  • More »

Linux commands