Pelles C Compiler

Pelles C Software

Pelles C Software Logo
Source: Wiki
Pelles C Software Screenshot
Source: Wiki

Introduction To Pelles C

Pelles C is a lightweight software development kit for Windows. It is created and maintained by the Swedish skin Orinius. It is a free software that is financed through user donations.

It is a complete environment of optimizing C compiler , a macro assembler , a linker , a resource compiler, a message compiler, a make tool and an installation file (setup).

An integrated development environment (IDE) assists the user in project management, source code writing and debugging . The integrated resource editor allows you to define menus, string tables, hotkeys, bitmap images, icons, cursors, AVI animations without audio, dialog's, and version management.

The whole system is written in C and the main peculiarity is that it can be extended by the user. The extensions, called add-ins , are written in C and compiled in a dynamic DLL library that is automatically loaded at startup of the development environment and numerous ready -made add- ins are available on the official forum.

To facilitate access to features, the user can also add menu items to the IDE, including the context menu. The personalization of the IDE goes as far as the possibility of using translations made by the user following the instructions of the help file, thanks to this, and to the users' contribution, the development environment is multilingual and at present, in addition to English, translations into Swedish, German, Greek and French are available.

History of Pelles C

In 1987-88 the author was working at a consulting firm in Sweden that also sold software written in BASIC for microcomputers . At that time IBM PCs began to take hold the market, so it was easier to convert the previous software than to write it from scratch. After several unsuccessful attempts he decided to write an assembler at an amateur level, then presented it to his boss who found it valid. At that point the project evolved into a DOS compiler , a 16-bit compiler for Windows and finally a complete 32-bit system . After years of working with this system it was decided in 1999 to move to more traditional development tools.

But Orinius thought it was a nonsense to throw away a good linker, library manager etc. And he decided to add a C language compiler instead of starting from scratch. He decided to use the LCC code developed at Princeton. Many things were missing at that time. He was well familiar with the Microsoft compiler, such as the online assembly and the structured exception handling, but it was well written and the code was not too long.

He then decided to add the missing features and in the meantime learned more about LCC, this took several years as well as learning the C99 standard and programming the Pocket PCs . When he obtained something definitive he thought it could be useful to others and he decided to publish it on the world wide web. The current version available to download is 9.00. You can download it from here Pelles C.

Compatibility with other Softwares

This software tries to maintain specific compatibility with Microsoft visual studio, thus enabling to import visual studio projects of 2010/2012/2013. Its IDE is referred to as "excellent" for learning C Programming Language on windows.

Although the compiler is in compliance with ISO C99 / C11 standards, it also accepts Microsoft extensions to the C language and also uses its own. Observance to the updated ISO standard for the C language distinguishes it compared to Microsoft's Visual Studio, because of propensity shown in continuous updates to the standard and from the help file that clarifies the salient points of change between one version and another of the ISO standard.

The compiler is based on LCC (Little C Compiler), a multi-target compiler developed by Chris Fraser and David Hanson, and the installation builder for Windows is based on NSIS . With the permissive license of LCC this has been integrated with changes that have led to the current version being used in Pelles C.

Summary of Main Functions

The main functions implemented in Pelles C are are:
  1. Integrated symbolic debugger.
  2. Support for personalized assisted procedures.
  3. Support for 32-bit Windows (x86), Windows 64-bit (x64).
  4. Integrated resource editor.
  5. Project manager.
  6. In-line assembler for x86 with Intel syntax.
  • Support for most the C99 / C11 standard.
  • Integrated bitmap, icon and cursor editor.
  • Support for custom controls in the dialog editor.
  • Support for additional project wizards.
  • Support for Microsoft's exception handling: __try, __except, __finally, __leave.
  • Support for the intrinsic instructions SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AES, AVX (Advanced Vector Extensions) , and only for the 64-bit architecture the AVX2 (Advanced Vector Extensions 2) instructions.
  • Integrated source code editor with suggestions and navigation by symbol.
  • Integrated hexadecimal editor.
  • Support for delayed loading of DLL's, much like Microsoft.
  • Support for pocket PCs.
  • In the transition from version 7.00 to 8.00 the support for the ARM architecture and Windows Mobile was removed.

    Resourceful Links:

  • Learn how to install and use Pelles C.
  • Download Pelles C Compiler