Fork us on GitHub Follow us on Google+ Follow us on Facebook Follow us on Twitter

Opened 7 years ago

Closed 6 years ago

#311 closed enhancement (fixed)

Port of Portable C Compiler (pcc) to HelenOS

Reported by: Jakub Jermář Owned by:
Priority: major Milestone: 0.5.0
Component: helenos/app/other Version:
Keywords: gsoc11 Cc:
Blocker for: Depends on:
See also: #315

Description (last modified by Jakub Jermář)

Port the Portable C Compiler to HelenOS.

Details
The Portable C Compiler (pcc) is a multiplatform, BSD-licensed, simple and fast compiler of the C99 language. The origins of the compiler reach back to 1970's, but it is being actively developed even today. Its current version is now nearing the 1.0 release. Integrate a reasonably recent version of pcc into HelenOS so that it can be used to compile C programs from within HelenOS. In the absence of tools such as assembler and linker, focus on porting pcc to the extent that it can compile an input C source file into an output assembly file (skip the assembler and linking phase).
What Gains and Benefits will this bring?
One of the strategic goals for HelenOS is becoming self-hosting. Since most of the HelenOS code is written in C, having a native C compiler is a prerequisite to reaching this goal. With a C compiler in place, the usability of HelenOS will also benefit as it will become possible to compile user programs from within HelenOS itself.
Difficulty
medium
Required skills
A successful applicant will have good skills of programming in the C language and the ability to survive in a non-standard non-POSIX application environment. The applicant should also be familiar with the basic concepts behind compilers and the build toolchain.
Documentation
Possible mentors
HelenOS Core Team, Jakub Jermar, Jiri Svoboda

Change History (7)

comment:1 Changed 7 years ago by Jakub Jermář

Keywords: gsoc11 added; gsoc2011 removed

comment:2 Changed 7 years ago by Jakub Jermář

Component: unspecifiedapp/other

comment:3 Changed 7 years ago by Jakub Jermář

Description: modified (diff)

comment:4 Changed 7 years ago by Jakub Jermář

Summary: Port Portable C Compiler (pcc) to HelenOSPort of Portable C Compiler (pcc) to HelenOS

comment:5 Changed 7 years ago by Jakub Jermář

See also: #315

comment:6 Changed 7 years ago by Jakub Jermář

Type: defectenhancement

comment:7 Changed 6 years ago by Jakub Jermář

Resolution: fixed
Status: newclosed

Merged in mainline,1211.

Note: See TracTickets for help on using tickets.