[Scons-users] Adding support for another C/C++ compiler

Dan Čermák dan.cermak at cgc-instruments.com
Sun Dec 18 11:20:53 EST 2016


Hi folks,

I am currently using SCons for an embedded C++ project where I also have to 
use a proprietary C & C++ compiler that seems to be unsupported in SCons.

I have been able to get it to work by overriding the CCCOM, LINKCOM, CXXCOM 
variables (and some others), but it is kind of hacky, since the compiler 
requires certain parameters to be at certain positions and also seems to need 
the C & CXXFLAGS, too.

What would be the proper way to add support for such a compiler (especially 
considering its interesting requirements)? I haven't been able to find a lot 
of info on the net concerning this. Could maybe someone provide me with a 
starting point or a good example?


Thanks in advance,

Dan


More information about the Scons-users mailing list