What you can do
Development Toolchain provides a repeatable build process for C and Python research software. Build Programs and shared libraries, generate headers and manuals, and deliver built outputs in DEB or RPM packages.
Install and activate SIGCLEAR, then check sglicense status before starting.
Quick start
Build a Hello World program
Create a project directory containing these two files. The M prefix identifies a C source file as a command-line program and produces a binary with the sg prefix.
Mhelloworld.c
#include <stdio.h>
int main(void)
{
printf("Hello, world!\n");
return 0;
}
SConstruct
from program import *
SGBuild("sigclear-hello")
Build and run the program:
scons
./sghelloworld
The same build also generates the command manual sghelloworld.1.
Essential concepts
An M-prefixed C file identifies a command-line Program; SGBuild discovers the project's build inputs. Keep the SConstruct file with the source so the build can be repeated.
Use scons for a local build and scons package to create an installable package. Delivered packages contain built outputs; customers need the applicable SIGCLEAR dependencies and licenses.
Prepare your delivery
Use the Development package guide to choose build capabilities, or the build reference for targets and a packaged-workflow example.
For customer licensing, see the Licensing guide. Signing authority is reviewed separately from installing the toolchain.