Jump to content

Draft:Pelles C

From Wikipedia, the free encyclopedia
Pelles C
Original author(s)Pelle Orinius
Stable release
9.00.9 / September 28, 2024; 57 days ago (2024-09-28)[1]
Operating systemMicrosoft Windows, Windows CE
TypeIntegrated Development Environment
LicenseFreeware
Websitewiki.pellesc.de/doku.php

Pelles C is a freeware integrated development environment (IDE) that also includes a compiler and assembler, that is used for C and C++.[2] It is based on LCC and supports many things, such as C11, C17, and the amd64 architecture. It runs on Microsoft Windows and Windows CE, for Microsoft's pocket PCs.

History

[edit]

It all started between 1987-88 when the author worked at a consultancy company in Sweden that also sold software written in BASIC for microcomputers. When IBM PCs began to take hold, it was easier to convert older 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 Windows compiler, and finally a full 32-bit system. After years of work with this system, it was decided in 1999 to move to more traditional development tools.

But Orinius thought it was a shame to throw away a good linker, library manager etc, and decided to add a compiler for the C language instead of starting from scratch he decided to use the LCC code developed at Princeton: it was missing many of the things that it was familiar on the Microsoft compiler, such as inline assembly and structured exception handling, but it was well written and the code wasn't too long.

Then he started adding the missing features and in the meantime learned more about LCC, this took several years as well as learning the C99 standard and Pocket PC programming. When he obtained something definitive he thought it could also be useful to others and decided to publish it on the web.[3] The version currently most downloaded from the mirror site is 7.00, which has reached 150,000 total downloads.

Relationships with other software

[edit]

It attempts to maintain a certain compatibility with Microsoft Visual Studio, with this in mind it provides support for the import of Visual Studio 2010/2012/2013 projects. Its integrated development environment is described as "excellent" when it comes to learning the C language on Windows.[4]

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. Thanks to the permissive license from LCC[5] this was gradually integrated with changes that led to the current version in use in Pelles C.

The compiler, while adhering to the ISO C99/C11 standards, also accepts Microsoft extensions to the C language and also uses its own. Precisely its adherence to the updated ISO standard for the C language distinguishes it from Microsoft's Visual Studio, a propensity shown in the continuous updates to the standard and in the help file which clarifies the salient points of change between one version and another of the ISO standard.

Summary of the main features

[edit]

The following below shows the main features.

  • Support for C99/C11 standard
  • Integrated resource editor
  • Integrated symbolic debugger

In version 8.00, support for ARM and Windows Mobile was dropped.

References

[edit]
  1. ^ https://pelles-c-for-windows.software.informer.com/
  2. ^ "How to use Pelles C development tool for Windows CE | Toradex Developer Center".
  3. ^ Christian Heffner. "History of Pelles C". Mirror unofficial in German www.pellesc.de. Retrieved 26 June 2015.
  4. ^ Ivor Horton (2013). Apress (ed.). Beginning C. Beginning Apress - The expert's voice in C. illustrated (5th ed.). p. XXVIII. I can suggest two sources for a suitable C compiler [...]: The Pelles C compiler for Microsoft Windows [...] and includes an excellent IDE.
  5. ^ Christopher W. Fraser; David R. Hanson (2006). "CPYRIGHT" (txt). GitHub. Retrieved 28 June 2015.