svenbarth
|
274e43d7e0
Avoid the need to import/export _FPC_SysInstance and _FPC_TlsKey.
|
11 years ago |
svenbarth
|
87b57959ba
Fix threadvar handling.
|
11 years ago |
svenbarth
|
81006f8a11
Remove need to export FPC_EMPTYINTF variable.
|
11 years ago |
svenbarth
|
9a9346f0e6
- remove accidentally commited debug output
|
11 years ago |
svenbarth
|
1302f6bb82
Correctly import variable symbols.
|
11 years ago |
svenbarth
|
c94c356561
Use the indirect symbol to access the exported "emptychar" variable.
|
11 years ago |
svenbarth
|
0da91a240e
Ensure that $indirect symbols are not exported.
|
11 years ago |
svenbarth
|
e3c3386342
Correctly handle indirect symbols.
|
11 years ago |
svenbarth
|
60d36f89ae
Ensure that the correct name is used for the PCP file.
|
11 years ago |
svenbarth
|
93b8531ae1
Don't try to export generic symbols.
|
11 years ago |
svenbarth
|
8df3f8dcd2
Ensure that unneeded initialization/finalization procedures don't leave assembler symbols.
|
11 years ago |
svenbarth
|
3261a99906
Fix compilation with 2.6.x
|
11 years ago |
svenbarth
|
8067b8d467
Enable dynamic package support for i386-win32. The following example works (assuming rtl.ppk and thelloworld.pas are located in a fpctests subdirectory of the fpc source directory and there is a testoutput directory parallel to it):
|
11 years ago |
svenbarth
|
0173c830bf
Fix bootstrapping 2.6.x
|
11 years ago |
svenbarth
|
39aae66071
Changed a leftover AB_PRIVATE_EXTERN back to AB_GLOBAL
|
11 years ago |
svenbarth
|
767ebbf627
Adjust the Windows RTL for correct startup with packages.
|
11 years ago |
svenbarth
|
565afda13b
Also add the initialization/finalization sections and the class constructors/destructors to the imported symbols of the current program/library.
|
11 years ago |
svenbarth
|
42757953a5
Fix compilation
|
11 years ago |
svenbarth
|
62619bcdf8
Export all global assembler symbols from a package.
|
11 years ago |
svenbarth
|
18abc831eb
Until package PPU are stored inside the PCP we use .ppl.ppu as extension (instead of .ppu) to find the PPU files that were adjusted for usage in a package.
|
11 years ago |
svenbarth
|
3d8a43e5f2
Don't link objects files of a unit that is provided by a package.
|
11 years ago |
svenbarth
|
2808b38882
Generate the import library for each used package.
|
11 years ago |
svenbarth
|
37166976b4
Add code which tries to load a unit from a package first and only then as usual.
|
11 years ago |
svenbarth
|
c0d577fd69
Add the possibility to load all packages supplied as parameters.
|
11 years ago |
svenbarth
|
854cd84921
Generate the PCP file once the package file and the used units were compiled correctly.
|
11 years ago |
svenbarth
|
a53d17feea
Add additional entry types for PCP files
|
11 years ago |
svenbarth
|
6f15aef215
To correctly generate the import library for a package we need to resolve the dangling external symbols of all units. For this each unit now stores which symbols it exported from another unit and it also stores all global and external assembler symbols it has (maybe this can be streamlined later on, but for now this works).
|
11 years ago |
svenbarth
|
de54f30588
+ add entry constants for the name of the package and the package file names, both used by a PCP file
|
11 years ago |
svenbarth
|
f0f2da4b7c
Improve export generation.
|
11 years ago |
svenbarth
|
5a884a17a1
+ add unit which contains representation of a PCP file (tpcpfile) like tppufile is for units.
|
11 years ago |