Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
srini_a
Level 3
Level 3
50 sign-ins 10 questions asked 10 replies posted

Hello Community,

I have a project with both .c and .cpp files and would like to force the modustoolbox to use g++ compiler to compile the .c files. When I make the change in the <Project>->Properties->C/C++ Build->Settings->C compiler = g++ (originally gcc); this change is not taking affect. Any idea why this wouldn't work? Is there any step I'm missing?

Any suggestions would be helpful.

Thank you.

0 Likes
2 Replies
ADSW
Moderator
Moderator
Moderator
250 sign-ins 50 solutions authored 25 likes received

Hello @srini_a 

You can create a c++ project in ModusToolbox .
Can you try following the solution in this thread to do the same.

Warm regards,
ADSW

0 Likes
ADSW
Moderator
Moderator
Moderator
250 sign-ins 50 solutions authored 25 likes received

Hi, 

Thread was locked due to inactivity for long time, you can continue the discussion on the topic by opening a new thread with reference to the locked one.
The continuous discussion in an inactive thread may mostly be unattended by community users.

Thanks and Regards,
ADSW

0 Likes