svenbarth
|
79eb9d6743
Keep track of how many units are used from each required/requested package and only link those from which any units are used.
|
9 tahun lalu |
svenbarth
|
0add53bfd3
pkgutil.pas:
|
9 tahun lalu |
svenbarth
|
9c7ee0794e
pmodules.pas, proc_package:
|
9 tahun lalu |
svenbarth
|
cbcda8bd59
Generate unit exports only for system that need them.
|
9 tahun lalu |
svenbarth
|
3710c86a1f
Ensure that the reference to the System unit is correctly set up for packages. Among other things this is needed to compile a package with the -gl option (though debug information doesn't work yet).
|
10 tahun lalu |
svenbarth
|
3eacfce4b4
Correctly create import libraries for packages as well.
|
10 tahun lalu |
svenbarth
|
be6a1c719c
Add support for parsing required packages.
|
10 tahun lalu |
svenbarth
|
9887293bec
When compiling a package, handle only those units that are not yet part of a package.
|
10 tahun lalu |
svenbarth
|
60d36f89ae
Ensure that the correct name is used for the PCP file.
|
10 tahun lalu |
svenbarth
|
8df3f8dcd2
Ensure that unneeded initialization/finalization procedures don't leave assembler symbols.
|
10 tahun lalu |
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.
|
10 tahun lalu |
svenbarth
|
3d8a43e5f2
Don't link objects files of a unit that is provided by a package.
|
10 tahun lalu |
svenbarth
|
2808b38882
Generate the import library for each used package.
|
10 tahun lalu |
svenbarth
|
c0d577fd69
Add the possibility to load all packages supplied as parameters.
|
10 tahun lalu |
svenbarth
|
854cd84921
Generate the PCP file once the package file and the used units were compiled correctly.
|
10 tahun lalu |
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).
|
10 tahun lalu |
svenbarth
|
f4e17dd8c1
Some small fixes for package parsing.
|
10 tahun lalu |
svenbarth
|
1ca193885f
Extract the code to export the symbols of a unit to its own function in pkgutil so that less functions need to be exported.
|
10 tahun lalu |
svenbarth
|
1f4440a866
Move package related functions from pmodules to pkgutil.
|
10 tahun lalu |
svenbarth
|
6a1b314ce8
Convert export options from constants to a set and accordingly adjust all usage locations
|
11 tahun lalu |
svenbarth
|
f359fe4690
Extract reading of the PPU/PCP version into tentryfile.
|
11 tahun lalu |
svenbarth
|
5e33294782
Extract functionality that is shared between the metadata files for units (PPU) and for packages (PCP) into a parent class called tentryfile
|
11 tahun lalu |
svenbarth
|
09582ceb7e
Add a new target flag which determines whether the target supports dynamic packages or not.
|
11 tahun lalu |
sergei
|
3eec9996bc
* Moved method check_hints from tmodule to tused_unit and modified it so warning messages are output with position info from associated unitsym. Resolves #25057.
|
11 tahun lalu |
Jonas Maebe
|
b57c95043f
+ support overriding tdef/tsym methods with target-specific functionality:
|
11 tahun lalu |
florian
|
b2b26f84cf
* partially merged the mips-embedded branch of Michael Ring:
|
11 tahun lalu |
Jonas Maebe
|
009c96a0bd
* fixed setting up the global switch for main programs without a "program"
|
11 tahun lalu |
florian
|
68f1a51164
* set PIC defines earlier, resolve #25788
|
11 tahun lalu |
florian
|
fe7238bdf1
* avoid compiler warning about uninitialized variable
|
11 tahun lalu |
florian
|
15df4a4f80
+ support iso pascal like program parameters in iso mode
|
11 tahun lalu |