I would like to be able to use Nim to compile to C code that is suitable for a 
Z80 compiler such as [z88dk](https://z88dk.org/site/) or 
[SDCC](http://sdcc.sourceforge.net/) but am having difficulty in finding the 
correct command line switches etc.

The documentation lists the switches, but not the possible values. I have been 
able to find out some of the switch values by typing in gibberish and reading 
the error message hints, which narrows it down a little. That still doesn't 
tell me what the difference between "any" and "standalone" for "os" is, for 
example.

I have tried a combination of switches and values for a simple "hello world" 
text program, but the output seems overly large and complex.

Can anyone offer any advice?

This is for Nim 1.6.6 on Windows, in case that makes a difference.

Reply via email to