Add `-nosavepath` option
This prevents Squish from outputting an initial line containing `REM>` and the output filename - in other words, the default pathname for the `SAVE` statement. This is useful for a number of reasons: * It is arguably a waste of space, since a Squished version of a program should ideally never be hand-edited. * The output pathname used in ROM builds bears no relationship to anything on the target device (currently, the installed version of the Alarm and Chars programs both start with `REM>Resources.!RunImage` which relates to the layout of the source component directory tree). * It is desirable for cross-compilation and native builds to be binary identical, so having a host pathname embedded in the output is unhelpful. We could have added an option to override the pathname used, to ensure consistency, but it's easier simply to omit the relevant line.
Showing
Please register or sign in to comment