Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Details on PerlAppby John M. Dlugosz (Monsignor) |
on Jul 11, 2001 at 20:37 UTC ( [id://95755]=note: print w/replies, xml ) | Need Help?? |
The reason PerlApp only works on NT (not 9x) is the lack of functions for manipulating EXE files. Obviously having OS support for that makes writing any kind of compiler easier! Specifically, it works by taking the stub EXE and sticking all the files to bundle as "resources" to a copy of that EXE. I'm pretty sure it's uncompressed, too! Instead of using the resource fork as an archive, you could implement it as a tarball concatenated after the stub, as with a typical self-extracting archive. Then you would not need those exotic functions, and the source for the stub would be portable (as opposed to using OS-specific features to read the resources). —John
In Section
Meditations
|
|