CompC

Artifact Content
Login

Artifact 165fdc14ef1e7f0d440426b3e7674030d95e3378:

Wiki page [README] by tehologist 2015-04-24 22:46:47.
D 2015-04-24T22:46:47.608
L README
P c99eaca4b1079f54c28d8d890e034e67efeb84ee
U tehologist
W 543
<h1>Getting Started</h1>

Run compiler on compc/src/CompC.c to generate CompC executable. Copy eforth.cmp in directory containing CompC. Run CompC executable.

<h2>Linux</h2>
<ul>
<li>cd compc</li>
<li>mkdir build</li>
<li>cd build</li>
<li>gcc ../src/CompC.c -o CompC</li>
<li>cp ../eforth.cmp .</li>
<li>CompC</li>
</ul>

<h2>Windows CMake</h2>
<ul>
<li>cd compc</li>
<li>mkdir build</li>
<li>cd build</li>
<li>cmake -G "NMake Makefiles" .. </li>
<li>nmake</li>
<li>copy ..\eforth.cmp .</li>
<li>CompC</li>
</ul>



Z c7bca49c06de4cf0c8ad2bac55cb263c