[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The shaderdl
script sets some environment variables and then calls slcdl
. This program uses those environment variables to find the C compiler and call it with the right options.
You can change the default settings of shaderdl
by modifiying the configuration script `shaderdl.init' (`shaderdl.init.bat' under Windows), which should be placed in your `$HOME/etc' directory.
An example `shaderdl.init' would be
#! /bin/sh SLC_CC_OPTIONS="-w -g" |
This configuration file simply tells the C++ compiler to generate debug information in the compiled DSO (or DLL).
Under Windows, the default compiler is Microsoft Visual C++. However, we provides alternate shaderdl
scripts for use with other popular compilers, like gcc or Borland. To use them, just rename the one that you need to `shaderdl.bat'.