Sign in Join
Wiki copytemporary

sGlobalSmartlink/de: what changed

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

Title: sGlobalSmartlink/de

OldNewLine
1+Zurück zu den [[global compiler directives/de|globalen Compilerdirektiven]].\
2+
3+Die globale Compilerdirektive \$SMARTLINK weist den Compiler an, das Programm für smartlink zu compilieren.\
4+Durch smartlink kann die Grösse des Programms verringert weden.\
5+
6+Vorgehensweise von smartlink:\
7+Das Programm wird in logische Einheiten aufgteilt. Dabei wird für jedes Unterprogramm eine eigene Objektdatei erstellt.\
8+Es werden nur die Objektdateien in das Programm eingebunden, die vom Programm benötigt d. h. vom Programm aufgerufen werden.\
9+
10+Hinweis:\
11+Wenn die globale Compilerdirektive {\$SMARTLINK ON} ist, dann wird der Compiliervorgang des Programms langsamer.\
12+Wohlgemerkt, der Compiliervorgang wird langsam, nicht das Programm. Das Programm wird dadurch kleiner und benötigt weniger Speicher.\
13+
14+Die globale Compilerdirektive \$SMARTLINK hat zwei Schalter ON und OFF.\
15+
16+Beispiele:\
17+
18+ // SMARTLINK muss vor dem Deaklarations-Abschnitt stehen
19+ // Schaltet smartlink ein
20+ {$SMARTLINK ON}
21+ Unit uTest;
22+ Interface
23+ ...
24+
25+Die Globale Compilerdirektive \$SMARTLINK hat ihr Gegenstück in der Kommandozeilen-Option -CX.\
26+
27+--Olaf 08:34, 13 February 2013 (UTC)
28+
29+---
30+*From the Free Pascal wiki, page "sGlobalSmartlink/de", as it stood on 2014-02-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).*
31+Category: Free Pascal Programmers Guide/de

Back to history