GNU Pascal: what changed
Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | 1 | GNU Pascal (GPC) is the official [[Pascal]] compiler of the [[GNU]] project. It is compatible to [[Standard Pascal]] as defined in ISO 7185, and it implements "most" of the ISO 10206 [[Extended Pascal]] standard. | |
| 2 | 2 | ||
| 3 | 3 | Unlike [[Free Pascal]], GPC is not **self-hosted**, i.e. it is not able to translate and **build itself**. Rather, it acts as a **frontend** to GNU Compiler Collection (GCC), so that Pascal code is translated to C and from C to machine language. | |
| 4 | 4 | ||
| 5 | 5 | This has the advantage that it is instantly **portable** to any platform the GCC compiler supports. However, since GNU Pascal is not more than a frontend, it does have to adapt to every major change that is done to GCC. Therefore, new major versions are adopted only slowly. | |
| 6 | 6 | ||
| 7 | 7 | Free Pascal is expected to generate more efficient machine code than GPC. | |
| 8 | 8 | ||
| 9 | 9 | ## External links | |
| 10 | 10 | ||
| 11 | 11 | - [FP and GNU Comparison](http://www.freepascal.org/faq.var#FPandGNUPascal) | |
| 12 | 12 | - [Official GPC site](http://www.gnu-pascal.de) | |
| 13 | 13 | ||
| 14 | - | ||
| 15 | - | ||
| 16 | 14 | --- | |
| 17 | 15 | *From the Free Pascal wiki, page "GNU Pascal", as it stood on 2017-12-06 after a change by Marcov, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* |
