Linux SoftwareProgrammingCompilersnwcc 0.6.6

nwcc 0.6.6


nwcc is a small C compiler for Unix systems that I wrote in my freetime, for fun and to prove to myself that I could
Developer:   Nils Weller
      more software by author →
Price:  0.00
License:   BSD License
File size:   0K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


nwcc is a small C compiler for Unix systems that I wrote in my freetime, for fun and to prove to myself that I could. I started the project in August 2003, but because I had a job and a life and a few other hobby code projects, it took me until autumn 2005 to make it work with various constructs of the C language.

So what new does nwcc bring to the table? Most importantly, new code: I wrote everything from scratch - including the lexer, parser and backend.

The code of nwcc is written in C, is currently around 25.000 lines in size, and I'm releasing it under the BSD license.

This release is not intended for serious use, but at least nwcc is strong enough to compile itself (the result of which can compile nwcc as well) and should thus be capable of dealing with at least some small programs. There are still some things missing/broken, but things are improving almost every day (I upload my changes to SF whenever I add/fix something of interest.)

Here are some key features of "nwcc":
  • There are some C language features missing; Most notably support for floating point, bitfields and a few other things. Many other things are broken (there are probably bugs in pretty much every language feature implemented by nwcc)
  • There are no features a power developer used to established mainstream compilers would consider interesting, yet (apart from, maybe, the stack protection feature.) Sorry. There is nothing beyond plain dumb compilation; No support for creating shared libraries, no support for debugging or profiling, no nothing
  • There is currently only a backend for 80x86 processors (which generates code for the NASM Netwide Assembler and works on Linux, FreeBSD and OpenBSD)
  • There is absolutely no optimization, meaning the generated code is very slow compared to the output of established compilers. I will work on this soon, but you should understand that my primary concerns right now are code correctness and portability rather than speed (it's hard enough to make slow code work!)

    It takes a lot of work to get even a subset of the C language to compile, so the fact that something is missing or done wrong in nwcc does not mean that I don't care about that particular area of the C language or compiler design; It only means that I haven't gotten around to doing it right, or indeed at all, yet.

    What's New in This Release:
    · This release adds initial support for cross-compilation between all supported platforms.
    · Unlike some other cross-compilers, nwcc does not need to be built for a particular target, and allows you to choose architecture and ABI by using command line options.
    · Various severe bugs have also been fixed.
    tags support for  there are  this release  other things  does not  nwcc does  are some  things are  few other  nwcc there  

    Download nwcc 0.6.6


     http://prdownloads.sourceforge.net/nwcc/nwcc_0.6.6.tar.gz?use_mirror=umn
     http://prdownloads.sourceforge.net/nwcc/nwcc_0.6.6.tar.gz?use_mirror=superb-west
     http://prdownloads.sourceforge.net/nwcc/nwcc_0.6.6.tar.gz?use_mirror=superb-east


    Authors software

    nwcc 0.6.6 (by Nils Weller)
    nwcc is a small C compiler for Unix systems that I wrote in my freetime, for fun and to prove to myself that I could


    Similar software

    nwcc 0.6.6 (by Nils Weller)
    nwcc is a small C compiler for Unix systems that I wrote in my freetime, for fun and to prove to myself that I could

    Free Pascal Compiler 2.0.2 (by Dani?l Mantione)
    Free Pascal (aka FPK Pascal) is a 32 or 64 bit (from 1.9.6) pascal compiler

    LLVM 1.9 (by Misha Brukman)
    LLVM is a compiler infrastructure designed for compile-time, link-time, runtime, and "idle-time" optimization of programs from arbitr

    Tiny C Compiler 0.9.23 (by Fabrice Bellard)
    Tiny C compiles so fast that even for big projects Makefiles may not be necessary

    Agora BASIC 0.1 (by Antti-Juhani Kaijanaho)
    Agora BASIC is a BASIC compiler for POSIX systems

    x10 0.3.2 (by Christian Grothoff)
    X10 project is a new object-oriented, type-safe programming language for programming the next generation of high performance systems

    lfyre 0.3.1 (by Massimiliano Ghilardi)
    Lfyre is a programming language and the interactive compiler for the same language.
    Its key features are flexibility, performance an

    Kunzip 2006-11-14 (by Michael Kohn)
    Kunzip is a free (but not opensource) library for decompressing ZIP archives

    Obfuscated Tiny C Compiler (by Fabrice Bellard)
    Obfuscated Tiny C Compiler (OTCC) is a very small C compiler I wrote in order to win the International Obfuscated C Code Contest (IOC

    Yasm 0.5.0 (by Peter Johnson)
    Yasm is a complete rewrite of the NASM assembler under the "new" BSD License (some portions are under other licenses, see COPYING for


    Other software in this category

    FreeBASIC Compiler 0.17b (by Andre Victor)

    Free Pascal Compiler 2.0.2 (by Dani?l Mantione)
    Free Pascal (aka FPK Pascal) is a 32 or 64 bit (from 1.9.6) pascal compiler

    Octave 2.0.17 (by linux)
    GNU Octave is a high-level language, primarily intended for numerical computations

    motor 3.4.0 (by Konstantin Klyagin)
    Motor is a text mode based programming environment for Linux

    Eleven 1.0 (by Joe Morrison)
    Eleven is a programming language for creating robust, scalable web applications quickly and easily.

    It offers a 20x programmer pro

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags