[fpc-devel] Project Idea: Mini-FPC

John Clymer john at johnclymer.net
Fri Sep 9 18:16:45 CEST 2011


Have you looked at target "embedded" ?  For what specific platform are you 
contemplating this for ?  (i.e. what specific need is driving this question ?)  
It implements a very minimal set of things, basically the minimum necessary to 
support the language core, and the minimum necessary to support a given 
processor and it's "system" unit.

John





________________________________
From: Tomas Hajny <XHajT03 at hajny.biz>
To: FPC developers' list <fpc-devel at lists.freepascal.org>
Sent: Fri, September 9, 2011 3:45:54 PM
Subject: Re: [fpc-devel] Project Idea: Mini-FPC

On Fri, September 9, 2011 03:48, Skybuck Flying wrote:


Hello,

> Here is an idea to help new-comers to FPC understand how it works:
>
> A new project could be created which would be called: "Mini-FPC".
>
> The purpose of the project is to demonstrate how FPC compiles/builds
> itself
> and how it implements basic platform/cpu support.
.
.
> Everything else can then be left out like:
>
> floating point numbers,
> sockets,
> lists,
> classes,
> printers,
> bitmaps,
> perhaps even debugger or debugger support,
> etc.
>
> So it's trimmed down as much as possible to isolate it's core components.

3 comments:

1) Floating point support is necessary for the compiler to compile/build
itself, because floating point number support needs to be available in the
compiler itself (otherwise source files containing floating point numbers
cannot be processed by the compiler).

2) Needs of different users vary considerably. A user interested in
compiling a simple console 'hello world' program using procedural Pascal
needs only unit System and nothing else, a user creating 'hello world' in
a GUI window using Object Pascal has much broader needs (broader than the
compiler itself).

3) Everyone is free to create a special installation package for his own
needs, but I can hardly imagine something like that becoming part of the
general FPC distribution.

Tomas


_______________________________________________
fpc-devel maillist  -  fpc-devel at lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20110909/0a7bba51/attachment.html>


More information about the fpc-devel mailing list