[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.2.3 Customizing the Compilation Script

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'.



This document was generated by Aghiles Kheffache on July, 31 2003 using texi2html
3Delight 1.0.0. Copyright 2000-2003 The 3Delight Team. All Rights Reserved.