svenbarth
|
be6a1c719c
Add support for parsing required packages.
|
10 years ago |
svenbarth
|
9887293bec
When compiling a package, handle only those units that are not yet part of a package.
|
10 years ago |
svenbarth
|
60d36f89ae
Ensure that the correct name is used for the PCP file.
|
11 years ago |
svenbarth
|
8df3f8dcd2
Ensure that unneeded initialization/finalization procedures don't leave assembler symbols.
|
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
|
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
|
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
|
f4e17dd8c1
Some small fixes for package parsing.
|
11 years ago |
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.
|
11 years ago |
svenbarth
|
1f4440a866
Move package related functions from pmodules to pkgutil.
|
11 years ago |
svenbarth
|
6a1b314ce8
Convert export options from constants to a set and accordingly adjust all usage locations
|
11 years ago |
svenbarth
|
f359fe4690
Extract reading of the PPU/PCP version into tentryfile.
|
11 years ago |
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 years ago |
svenbarth
|
09582ceb7e
Add a new target flag which determines whether the target supports dynamic packages or not.
|
11 years ago |
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 years ago |
Jonas Maebe
|
b57c95043f
+ support overriding tdef/tsym methods with target-specific functionality:
|
11 years ago |
florian
|
b2b26f84cf
* partially merged the mips-embedded branch of Michael Ring:
|
11 years ago |
Jonas Maebe
|
009c96a0bd
* fixed setting up the global switch for main programs without a "program"
|
11 years ago |
florian
|
68f1a51164
* set PIC defines earlier, resolve #25788
|
11 years ago |
florian
|
fe7238bdf1
* avoid compiler warning about uninitialized variable
|
11 years ago |
florian
|
15df4a4f80
+ support iso pascal like program parameters in iso mode
|
11 years ago |
florian
|
4d5119bf1c
* fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables
|
11 years ago |
paul
|
2fa739f729
compiler: remove unneeded push/pop to symtablestack
|
12 years ago |
paul
|
5aa919c2a8
compiler: have unit interface symtable in stack while parsing implementation uses list (fixes issue #10477)
|
12 years ago |
paul
|
0d8ad2a932
compiler: don't treat TRUE and FALSE as keywords. They are predefined constants from this moment. This change is compatible with other pascal compilers. Fixes issue #0025030
|
12 years ago |
paul
|
60c0de6c09
compiler: formatting
|
12 years ago |
sergei
|
d11ec8ac47
- Reverted r25269 and commented out r25261. The former one is wrong because it changes unit initialization order. The latter one causes RTL build failures on some targets, needs testing and likely RTL/makefiles patching.
|
12 years ago |