Sign in Join
Wiki copytemporary

Compiler development articles/id: what changed

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

Title: Compiler development articles/id

OldNewLine
1+Saat ini versi FPC yang sedang dikembangkan adalah 2.3.1. Internal kompilator didokumentasikan di halaman [[FPC internals]] yang berkembang.
2+
3+# Umum
4+
5+[[How to start]]
6+
7+[[FPC internals]]
8+
9+[[Language related articles]]
10+
11+[[Coding style]]
12+
13+[[Porting Free Pascal]]
14+
15+## Hidupkan gaya baru smartlinking (freebsd,linux)
16+
17+- in i_*.pas menambah seksi tf_smartlink_ke field flags dari rekaman deskripsi platform untuk OS/CPU combo anda (dalam kasus saya i_bsd.pas, rekaman system_i386_freebsd_info)
18+- in ogelf.pas menggulung ke bawah, dan menambahkan af_smartlink_sections ke field flags pada as_i386_elf32_info
19+- jalankan "(g)make all OPT='-Aas -k--gc-sections' di tingkat atas untuk membangun menggunakan rutin baru smartlinking.
20+
21+## C++ linking
22+
23+Lihat <http://rvelthuis.bei.t-online.de/articles/articles-cppobjs.htm>
24+
25+Catatan bahwa FPC tidak mempunyai ofset VMT negatif karerna keterbatasan GNU LD.
26+
27+Fundamen C++ di atas \<-\> OPas bergantung pada antarmuka COM : (dikutip dari Rudy Velthuis)
28+
29+"Well, all compilers must be able to create COM interfaces. Since in C++, these are simply pure abstract classes, and Delphi must have the same layout, for many reasons, they are all compatible. In fact, a pure abstract class pointer points to a structure of which the first entry is a VMT. This is also how interfaces are built"
30+
31+# Processor dependent
32+
33+Lihat juga [[Platform list/id|daftar platform]].
34+
35+[[Passing Pascal Types to C Routines]]
36+
37+## i386
38+
39+[[PIC information]]
40+
41+## PowerPC
42+
43+[[PPC Calling conventions]]
44+
45+## Linker Internal
46+
47+[[Internal Linker]]
48+
49+# Paket
50+
51+[[packages]]
52+
53+---
54+*From the Free Pascal wiki, page "Compiler development articles/id", as it stood on 2007-10-03 after a change by Swen, 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).*

Back to history