Customizing spld under UNIX

The spld tool is implemented as a Perl script and can be customized in order to adapt to local variations. Do not attempt this unless you know what you are doing. Customization is done by editing their common configuration file spconfig-version. Follow these instructions:

  1. Locate the configuration file spconfig-version. It should be located in the same directory as spld.
  2. Make a copy for spconfig-version; let's call it hacked_spld.config. Do not edit the original file.
  3. The configuration file contains lines on the form CFLAGS=-g -O2. Edit these according to your needs. Do not add or remove any options.
  4. You may now use the modified spconfig-version together with spld like this:
              % spld [...] --config=/path/to/hacked_spld.config
              
    Replace /path/to with the actual path to the hacked configuration file.