From 42dc76908495627734af475e76b7acfe436ec814 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Tue, 3 Nov 2020 10:11:11 +0100 Subject: first commit --- index.html | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 index.html diff --git a/index.html b/index.html new file mode 100644 index 0000000..dd9d61f --- /dev/null +++ b/index.html @@ -0,0 +1,78 @@ +

run

+

run is a C interpreter for Windows -- or more accurately, it +is a compiler and cacher of C programs. When given the file example.c, +run compiles and executes it. The resulting executable, example.exe, +is stored in the same directory, but as a hidden file. Now, any +subsequent time example.c is run, it is re-compiled only if it +has been modified since the last compilation.
+

+

Installation

+

First of all, make sure you have all the prerequisites +in place. Put run.exe and rungui.exe somewhere in your +PATH. To run C files from the command prompt, issue the following +command:

+
C:\> run filename.c [arguments ...]
+

To run C files from Explorer, set rungui.exe as the default +program for .c files, or use the Open With menu to +select rungui.exe.
+

+

Prerequisites

+

run does not include a C compiler nor any standard library. +You must install these manually and add their paths to the relevant +environment libraries:
+

+ +

If you wish to use run with Visual Studio (C++) and/or the +Windows SDK, you can define the VSDIR and/or SDKDIR environment +variables, and run will automatically set INCLUDE, LIB and PATH +to the correct values:
+

+ + + + + + + + + + + + + + + +
If you define...
+
Then run will set...
+
+
VSDIR
+
+
INCLUDE = VSDIR\vc\include
LIB = VSDIR\vc\lib
PATH = VSDIR\vc\bin;
VSDIR\Common7\IDE
+
+
SDKDIR
+
+
INCLUDE = SDKDIR\include
LIB = SDKDIR\lib
+
+

Tips

+
    +
  1. To +create or modify an environment variable, run sysdm.cpl (or +right-click on My Computer), select the Advanced tab and click +on Environment Variables.
    +
  2. +
  3. Visual +C++ Express Edition and the Windows SDK are both freely available for +download online. I personally use Visual +C++ 2010 and the Windows +Server 2003 SP1 Platform SDK.
  4. +
  5. To +use a non-Microsoft compiler with run, such as gcc, +just make a copy of it named cl.exe and put its location in +your PATH variable.
    +
  6. +
-- cgit v1.2.3