Revision 3 of 3, by WikiArchive on 11-10-2026. The page as it is now.
Platform defines/fr
Conseils utiles avant d'utiliser les définitions de plate-forme
- http://www.stack.nl/~marcov/buildfaq.pdf - Lignes directrices générales pour la construction
- http://www.stack.nl/~marcov/porting.pdf - Lignes directrices générales pour le portage
- Si vous avez besoin de convertir un pointeur en entier pour de l'arithmétique ou vous voulez fournir un champ de rechange ([i]spare field[/i], like tag in TComponent) qui pourrait être utilisé pour stocker un pointeur, utilisez PtrInt comme type signé, ou mieux PtrUInt comme type non signé.
Définitions d'architecture
Note: Ceci est une copie de la documentation FPC officielle, qui est la version faisant autorité pour la version stable de FPC.
| Définition(s) | Signification |
|---|---|
| Général | |
| ENDIAN_BIG | Gros boutiste |
| ENDIAN_LITTLE | Petit boutiste |
| CPU16 | 16 bit CPU |
| CPU32 | 32 bit CPU |
| CPU64 | 64 bit CPU |
| Spécifique | |
| CPU86 | Intel 8086 et compatible (PC original) |
| CPU87 | Intel 8086 et compatible (PC original) |
| CPU386, CPUi386 | 386 et compatible (32 bit PC) |
| CPUAMD64, CPUX86_64 | processeur AMD64 ou Intel 64-bit |
| CPUIA64 | Processeur Intel itanium 64-bit |
| CPU68 | Motorola 680x0 ou CPU compatible |
| CPU68K, CPUM68K | Motorola 680x0 ou CPU compatible |
| CPUM68020 | Motorola 68020 ou CPU compatible |
| CPUPOWERPC | Processeur PowerPC (32 ou 64 bit) |
| CPUPOWERPC32 | Processeur PowerPC (32 bit) |
| CPUPOWERPC64 | Processeur PowerPC (64 bit) |
| CPUSPARC, CPUSPARC32 | SPARC v7 ou compatible |
| CPUARM | Processeur ARM 32 bit |
| CPUAVR | Processeur AVR 8/16-bit |
| FPU (unité de calcul en virgule flottante) | |
| FPUSOFT | Emulation logicielle de FPU (tout type) |
| FPUSSE64 | FPU SSE64 pour Intel I386 et supérieur, AMD64. |
| FPUSSE | SSE instructions pour Intel I386 et supérieur. |
| FPUSSE2 | SSE 2 instructions pour Intel I386 et supérieur. |
| FPUSSE3 | SSE 3 instructions pour Intel I386 et supérieur, AMD64. |
| FPULIBGCC | GCC bibliothèque d'émulation FPU pour ARM et M68K. |
| FPU68881 | 68881 pour M68K. |
| FPUFPA | FPA pour ARM. |
| FPUFPA10 | FPA 10 pour ARM. |
| FPUFPA11 | FPA 11 pour ARM. |
| FPUVFP | VFP pour ARM. |
| FPUX87 | X87 FPU pour Intel I386 et supérieur. |
| FPUITANIUM | Pour Intel Itanium. |
| FPUSTANDARD | Pour PowerPC (32/64 bit). |
| FPUHARD | Pour Sparc. |
Définitions de système d'exploitation
Note: Ceci est une copie de la documentation FPC officielle, qui est la version faisant autorité pour la version stable de FPC.
| Définition(s) | Signification |
|---|---|
| Général | |
| BSD | *BSD et OS X |
| UNIX | tout système UNIX ou UNIX-ien, incluant Linux, BSD, Solaris et OS X. |
| MSWINDOWS | Toute variantes de Windows sauf Windows CE/Windows Mobile |
| WINDOWS | toute variante de Windows |
| Spécifique | |
| AMIGA | Amiga OS |
| ATARI | Atari TOS |
| LINUX | Linux |
| BEOS | BeOS |
| BSD | BSD OS X, iOS |
| MACOS | Classic Mac OS (System 7 etc) |
| DARWIN | OS X, iOS |
| FREEBSD | FreeBSD |
| NETBSD | NetBSD |
| SOLARIS | Solaris |
| SUNOS | SunOS, Solaris |
| UNDER_CE | Windows CE, Windows mobile |
| WIN32 | 32 bit Windows |
| WIN64 | 64 bit Windows |
| WINCE | Windows CE, Windows mobile |
| GO32V2 | MS DOS (utilisant l'extenseur go32v2) |
| PALMOS | Palm OS, Garnet OS |
Voir aussi
- http://delphi.wikia.com/wiki/FreePascal_detection_and_versioning
- Documentation Free Pascal: Appendice G: Définitions du compilateur pendant la compilation
From the Free Pascal wiki, page "Platform defines/fr", as it stood on 2018-07-02 after a change by Mathias, 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.
