From: Dale Weiler Date: Sat, 24 Nov 2012 01:46:48 +0000 (+0000) Subject: More documentation X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=162a473008122bfa91ee3a2e60d3b181616a4c1a;p=xonotic%2Fgmqcc.git More documentation --- diff --git a/doc.html b/doc.html index 689e28e..d3074f1 100644 --- a/doc.html +++ b/doc.html @@ -28,14 +28,20 @@
-

Defaults Flag

+ +

Compiler Documentation

+

Defaults Flag

The -show-defaults flag instructs the compiler to print out the defaults used related to the standard, optimization, and code generation. When this flag is specified, the compiler will just print the defaults and quit. No compilation is performed.

$ gmqcc -show-defaults
-

Compiling for an alternitive standard

+

Compiling for an alternitive standard

To compile with a different dialect of the QuakeC programming language the -std flag can be instructed to select one of the following options: @@ -88,7 +94,7 @@
Selects the standard dialect
-

Predefined Macros

+

Predefined Macros

@@ -116,7 +122,7 @@
MacroSpecifies the current selected stanadards major version number.
-

Unsupported compatability options

+

Unsupported compatability options

GMQCC strives hard for compatability with standard dialects, but not all features of those standards might be implemented. The unsupported features @@ -136,8 +142,8 @@

-

Less common compiler options

-

Code generation options

+

Less common compiler options

+

Code generation options

@@ -172,7 +178,7 @@
OptionEnables perl evalutaion/logic
-

Warning options

+

Warning options

@@ -251,7 +257,7 @@ Individual warnings may be disabled with  -Wno<warning>
$ gmqcc -Wno-frame-macros # disables frame duplication warning

-

Miscellaneous options

+

Miscellaneous options

Option
@@ -280,6 +286,83 @@
OptionLists all code generation options
+ +

Building Documentation

+

Building on BSD/NIX

+

+ To compile GMQCC on BSD/NIX the following things are + required: + +

+ + Once obtained you may checkout the development repository + with the following shell commands + +
$ git clone git://github.com/graphitemaster/gmqcc.git
+$ cd gmqcc
+
+ + The Makefile contains a few rules, depending on what you + want to compile, the following rules are: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
RuleWhat it does
gmqccBuilds the gmqcc compiler
qcvmBuilds a standable QuakeC VM
testsuiteBuilds the testsuite for GMQCC
allBuilds gmqcc, qcvm, and testsuite
installInstalls gmqcc to /usr/local/
checkRuns the testsuite to verify correctness
+

+

Building on Windows

+

+ To compile GMQCC on windows the following things are + required: + +

+ + Once obtained you may checkout the development repository + with the following msysGit commands from a msysGit shell. +
$ git clone git://github.com/graphitemaster/gmqcc.git
+ Included is a VS project file. +

+ +

Testsuite Documentation

+

+ GMQCC comes with a complete testsuite system for verifying semantics + and syntatics, TODO explain more and how to use it, write your own + tests etc.... +

+

Support or Contact

Having trouble with GMQCC? Join our IRC channel at #kf-engine on irc.freenode.net or contact Us

diff --git a/stylesheets/styles.css b/stylesheets/styles.css index 0138100..63e5dac 100644 --- a/stylesheets/styles.css +++ b/stylesheets/styles.css @@ -53,16 +53,20 @@ p, ul, ol, table, dl { margin:0 0 22px; } +h2.id { + color: red; +}; + h1, h2, h3 { - font-family: Arvo, Monaco, serif; - line-height:1.3; - font-weight: normal; + font-family: Arvo, Monaco, serif; + line-height:1.3; + font-weight: normal; } h1,h2, h3 { - display: block; - border-bottom: 1px solid #ccc; - padding-bottom: 5px; + display: block; + border-bottom: 1px solid #ccc; + padding-bottom: 5px; } h1 { @@ -423,3 +427,29 @@ footer { color:#444; } } + +/* used for wiki stuff (mainly docs so far) */ +ul.wiki { + list-style-type: none; + list-style: none; + margin: 0; + padding-top: 30px; +} +li.wiki { + margin: 1; + padding-top: 0px; + padding-left: 0px; + padding-bottom: 20px; + border: 0; + font: inherit; + list-style: none; + vertical-align: baseline; + background-color: #DDDDDD; +} +a.wiki { + display: block; + width: 100% - 25px; + padding-left: 25px; + padding-top: 25px; + background-color: #DDDDDD; +}