TADS 3: Using the '-Os' compiler option

I’m trying to use a compiler option defined in the System Manual:

I’m doing this through the Workbench, in the Build → Settings… window, in the Advanced tab under “additional command-line options”. But compiling with this only produces an empty file (0 bytes in size) named whatever you called stringFile. The command shows up in the t3make report under the Debug Log, so it’s being executed, but not in the way I expect. Other compiler options, such as -help, seem to work fine.

I might just be misinterpreting how this particular option works; either way, I would appreciate it if someone could point me in the right direction.

Either it’s broken or it’s not working the way I expect either. Doing a clean build followed by a build with -Os results in an output file that contains only a handful of system strings, and none from my game code.

I’ve opened a bug report.

This bug has been fixed for the next release. That’s probably not far off since almost all the reported issues are now resolved.

Great! Thanks for your help. :slight_smile: