Menu

Tree [d71e20] default tip /
 History

Read Only access


File Date Author Commit
 .hgignore 2025-10-12 ggb ggb [5ffc6c] Initial load - working code
 README.md 2025-10-12 ggb ggb [cea47f] Still trying
 nimwint.sh 2025-10-12 ggb ggb [d71e20] Fixed issue with final return code

Read Me

Nim Windows Test

Test nim source file under wine

This is intended to allow nim code written in a Linux environment to be
cross compiled to Windows in tested in Wine.

Command line

nimwint without any arguments will attempt to find a nim source-file in the
current directory and compile and execute the source-file.

nimwint <directory> will attempt to find a nim source-file in the
specified <directory> and compile and execute the source-file.

The name of the source-file must be the same as the name of the directory (e.g.
a directory /some-directory/some-project must contain a source-file called
/some-directory/some-project/some-project.nim).

The user must have write permissions to the directory so that the nim compiler can generate an output file in the same directory (any previously existing executable with the same name in the directory will be deleted).

Prerequisites

The system must have a valid nim compiler installed.

The system must have mingw C compiler installed to allow cross compilation
to a Windows environment.

The system must have Wine installed in order to allow the generated executable
to be run.