Compiler development articles/id: what changed
Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | - | ||
| 1 | + | Saat ini versi FPC yang sedang dikembangkan adalah 2.3.1. Internal kompilator didokumentasikan di halaman [[FPC internals]] yang berkembang. | |
| 2 | 2 | ||
| 3 | + | ## Contents | |
| 4 | + | ||
| 5 | + | * 1 Umum | |
| 6 | + | * 1.1 Hidupkan gaya baru smartlinking (freebsd,linux) | |
| 7 | + | * 1.2 C++ linking | |
| 8 | + | * 2 Processor dependent | |
| 9 | + | * 2.1 i386 | |
| 10 | + | * 2.2 PowerPC | |
| 11 | + | * 2.3 Linker Internal | |
| 12 | + | * 3 Paket | |
| 13 | + | ||
| 3 | 14 | # Umum | |
| 4 | 15 | ||
| 5 | 16 | [[How to start]] | |
| 6 | 17 | ||
| 7 | 18 | [[FPC internals]] | |
| 8 | 19 | ||
| 9 | 20 | [[Language related articles]] | |
| 10 | 21 | ||
| 11 | 22 | [[Coding style]] | |
| 12 | 23 | ||
| 13 | 24 | [[Porting Free Pascal]] | |
| 14 | 25 | ||
| 15 | 26 | ## Hidupkan gaya baru smartlinking (freebsd,linux) | |
| 16 | 27 | ||
| 17 | - | ||
| 18 | - | ||
| 19 | - | ||
| 28 | + | * 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) | |
| 29 | + | * in ogelf.pas menggulung ke bawah, dan menambahkan af_smartlink_sections ke field flags pada as_i386_elf32_info | |
| 30 | + | * jalankan "(g)make all OPT='-Aas -k--gc-sections' di tingkat atas untuk membangun menggunakan rutin baru smartlinking. | |
| 20 | 31 | ||
| 21 | 32 | ## C++ linking | |
| 22 | 33 | ||
| 23 | 34 | Lihat <http://rvelthuis.bei.t-online.de/articles/articles-cppobjs.htm> | |
| 24 | 35 | ||
| 25 | - | ||
| 36 | + | Catatan bahwa FPC tidak mempunyai ofset VMT negatif karerna keterbatasan GNU LD. | |
| 26 | 37 | ||
| 27 | - | ||
| 38 | + | Fundamen C++ di atas <-> OPas bergantung pada antarmuka COM : (dikutip dari Rudy Velthuis) | |
| 28 | 39 | ||
| 29 | - | ||
| 40 | + | "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 | 41 | ||
| 31 | 42 | # Processor dependent | |
| 32 | 43 | ||
| 33 | - | ||
| 44 | + | Lihat juga [[Platform list/id|daftar platform]]. | |
| 34 | 45 | ||
| 35 | 46 | [[Passing Pascal Types to C Routines]] | |
| 36 | 47 | ||
| 37 | 48 | ## i386 | |
| 38 | 49 | ||
| 39 | 50 | [[PIC information]] | |
| 40 | 51 | ||
| 41 | 52 | ## PowerPC | |
| 42 | 53 | ||
| 43 | 54 | [[PPC Calling conventions]] | |
| 44 | 55 | ||
| 45 | 56 | ## Linker Internal | |
| 46 | 57 | ||
| 47 | 58 | [[Internal Linker]] | |
| 48 | 59 | ||
| 49 | 60 | # Paket | |
| 50 | 61 | ||
| 51 | 62 | [[packages]] | |
| 52 | 63 | ||
| 53 | 64 | --- | |
| 54 | - | ||
| 65 | + | *From the Free Pascal wiki, page "Compiler development articles/id", as the Internet Archive kept it on 2025-01-15. 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).* |
