[Scons-dev] link.py

Dirk Bächle tshortik at gmx.de
Wed Apr 23 11:27:17 EDT 2014


Hi Russel,

On 23.04.2014 14:39, Russel Winder wrote:

> If I am interpreting things correctly, link.py assumes that all C, C++,

> and Fortran linkers always use "-o $TARGET". Is this true?

link.py sets variables for all gnu-compatible linkers. If you have a
look at sunlink.py or aixlink.py, you can see how they import link.py,
and then overwrite some of the defined settings. You might want to do
something similar for your D tool, or define the things you need right
in your dmd.py::generate().

Regards,

Dirk



More information about the Scons-dev mailing list