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

Bill Deegan bill at baddogconsulting.com
Mon Dec 19 13:05:17 EST 2016


Dan,

Likely you can make all the changes you need by changing various
environment() variables.
creating a new builder is most likely overkill.
Unless there's a syntactical difference in how files are included, or other
dependency differences.

If you can specify the required command line forms vs the defaults it
shouldn't be too hard to help you make the appropriate changes.


-Bill

On Sun, Dec 18, 2016 at 6:20 AM, Dan Čermák <dan.cermak at cgc-instruments.com>
wrote:

> 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
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20161219/675428dc/attachment.html>


More information about the Scons-users mailing list