[Scons-users] changing the compiler

Matthieu Brucher matthieu.brucher at gmail.com
Tue Apr 23 07:08:12 EDT 2013


You can switch easily by using different environments for each compiler
(one for gcc and one for TI C/C++).
As for the flags and construction variables, they depend on the compiler,
so you have to set them properly in your tool according to the
documentation. They should be close to what is inside the gcc tool if TI
C/C++ is close to gcc.

Matthieu


2013/4/23 FIXED-TERM Priya Harish (RBEI/ETP) <
fixed-term.Priya.Harish at in.bosch.com>


> Then hw to switch between the compilers in scons???****

>

> What function to use in SConstruct….how to knw what all flags(construction

> variables ) to set for a particular compiler….****

>

> ** **

>

> ** **

>

> --

> Best regards / Mit freundlichen Grüßen ****

>

> *Priya Harish*

> *RBEI/ETP3* ****

>

> Tel. +91(80)4191-2826****

>

> ** **

>

> ** **

>

> *From:* scons-users-bounces at scons.org [mailto:

> scons-users-bounces at scons.org] *On Behalf Of *Matthieu Brucher

> *Sent:* Tuesday, April 23, 2013 4:21 PM

> *To:* SCons users mailing list

> *Subject:* Re: [Scons-users] changing the compiler****

>

> ** **

>

> Hi,****

>

> ** **

>

> I think there are no such tool at the moment (same for clang BTW).****

>

> You may want to look at gcc Tool file to write your own and perhaps put it

> on the wiki!****

>

> ** **

>

> Cheers,****

>

> ** **

>

> Matthieu****

>

> ** **

>

> 2013/4/23 FIXED-TERM Priya Harish (RBEI/ETP) <

> fixed-term.Priya.Harish at in.bosch.com>****

>

> Can any1 please let me knw how to change the compiler option from default

> ms visual studio to ti c/c++ compiler….****

>

> For changing to gcc compiler I simply used default tool****

>

> env=Environment(tools = ['mingw'])****

>

> option…it worked…but ti c/c++ seems not to be in the default set of tools

> in scons…so how to knw what tool name is to be used????****

>

> ****

>

> --

> Best regards / Mit freundlichen Grüßen ****

>

> *Priya Harish*

> *RBEI/ETP3* ****

>

> Tel. +91(80)4191-2826****

>

> ****

>

> ****

>

> ****

>

> ****

>

>

> _______________________________________________

> Scons-users mailing list

> Scons-users at scons.org

> http://four.pairlist.net/mailman/listinfo/scons-users****

>

>

>

> ****

>

> ** **

>

> --

> Information System Engineer, Ph.D.

> Blog: http://matt.eifelle.com

> LinkedIn: http://www.linkedin.com/in/matthieubrucher

> Music band: http://liliejay.com/****

>

> _______________________________________________

> Scons-users mailing list

> Scons-users at scons.org

> http://four.pairlist.net/mailman/listinfo/scons-users

>

>



--
Information System Engineer, Ph.D.
Blog: http://matt.eifelle.com
LinkedIn: http://www.linkedin.com/in/matthieubrucher
Music band: http://liliejay.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20130423/41f20a1b/attachment.html>


More information about the Scons-users mailing list