petdance/scratch — Issue #355: RFC: optional fakecutable preamble
Author: petdance
Created: 2011-11-14 05:55:45+00:00
State: open
Labels: Pri-normal, rfc, Sev-medium

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.

Originally http://trac.parrot.org/parrot/ticket/1867