6.8 Compile other pages

Prev Up Next Page 105 of 800 Search internet

Earlier, you populated the foo directory with several .lgs files. If you like, you can compile a test page:

   > lgc test.lgs

During verification, lots of features of the evaluation engine are checked. You can also compile a test machine:

   > lgc testmachine.lgs

After compilation, invoke the machine:

   > testmachine/page/bin/test1

It just prints 'HelloWorld'. Finally compile the lgc compiler itself:

   > lgc lgc.lgs

After compilation, invoke the compiler

   > lgc/page/bin/lgc --version

You may also see if there are any differences between /usr/bin/lgc and lgc/page/bin/lgc:

   > diff /usr/bin/lgc lgc/page/bin/lgc

Chances are there are no differences.

Prev Up Next Page 105 of 800 Search logiweb.eu

Copyright © 2010 Klaus Grue, GRD-2010-01-05