Ticket #1867 (new RFC)
RFC: optional fakecutable preamble
Reported by: | plobsing | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 2.11 |
Component: | none | Version: | 2.10.0 |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: |
Description
Executables created by pbc_to_exe, better known as "fakecutables", don't have full access to parrot VM settings. We currently work around some of these problems with magic environment variables and flags on pbc_to_exe.
These solutions are crufty and inflexible.
I propose the option to add a second pbc which will be loaded *before* the main pbc and run. The results of this will be used as the settings with which to run the main pbc.
The intent of this secondary, preamble, pbc is to parse commandline arguments, environment variables, and config files to obtain parrot VM settings in a manner appropriate for the HLL.