garyo edited this page Dec 13, 2014 · 1 revision

I have no idea how to do this, so here is a page ready for the experts to fill in the details.

Lets say I need to make a custom version of ld, or gcc, and want it to be done as part of a source build:

tree example:


An executable in project/compiler needs to be created before anything in project/application is compiled. In addition, this executable needs to be used for Builders in project/application.

Can scons do this ? [Yes.]

The first step is to have scons compile the ld, or compiler. Then you would create a new Environment and configure it to use your compiler or linker, export this new Environment for use to compile the rest of the project.

See for more information: UsingCodeGenerators

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.