Re: Saving a small program

From: Federico de Ceballos <fcebcab_at_ciccp.es>
Date: Thu, 30 Nov 2000 20:11:43 +0100

Elizabeth D. Rather wrote:

> Federico de Ceballos wrote:
>
>> I'd like to know details about saving the image of a program to
>> disk.
>> ...
>> As my code doesn't take advantage of the full features of the
>> environment and it can be compiled with just the KERNEL file, I
>> wonder whether it is possible to write the .EXE file directly
>> from there.
>
> We are working on a version of our SwiftX cross-compiler that will
> do this.
> ...
> The problem with "stripping unused code" is that a lot of the code
> in question _is_ used, just not by your application; it's hard for
> an automatic tool to make this judgement.

Elizabeth,

Thank you for your answer, but I'm not asking for anything as complex
as a full stripping.

My query was: As I can compile certain programs with KERNEL.EXE (an
ANS Forth system), which is 54.5 kB compared with the 406 kB of SF.EXE,
the overhead requirements on top of my code could be reduced by around
350 kB. I wouldn't mind having some unused words into my .EXE file.

Regards,

Federico de Ceballos

 
Received on Thu Nov 30 2000 - 11:25:37 PST


Subscribe to our e-mail list service. It's free for all SwiftForth and SwiftX users!

This archive was generated 08-Feb-2012. Archive updated nightly.