Resetting Eclipse C compiler choice

Mr. Andrei Chichak groups at chichak.ca
Thu May 21 19:48:40 UTC 2015


HAH, got it.

Apparently if you update the tools it can break the BSPs. Then Eclipse will look for gcc instead of, say, arm-rtems4.11-gcc.

So, the easiest thing is to expunge everything, source-builder the tools, git the source, and build the source and Eclipse will pick up the proper tools.

Now, wouldn’t it be cool if source-builder could also download and build the RTEMS source? Or change the name to tool-builder?



Andrei from The Great White North


On 2015-May-13, at 10:12 PM, Mohammed Saeed Khoory <Mohammed.Khoory at mbrsc.ae> wrote:

> I also face this problem sometimes and I can't figure out what causes it. It particularly happens when I try to migrate my RTEMS installation directory to another computer. I'm on Windows, MinGW and Eclipse.
> 
> I just end up rebuilding the tools as well as the RTEMS tree, maybe restart Eclipse, and it works once again. 
> 
>> -----Original Message-----
>> From: users [mailto:users-bounces at rtems.org] On Behalf Of Mr. Andrei
>> Chichak
>> Sent: Wednesday, May 13, 2015 11:26 PM
>> To: RTEMS List
>> Subject: Resetting Eclipse C compiler choice
>> 
>> Hi there,
>> 
>> I'm using Eclipse on a Mac (hey no snickers, it's a BSD box) and it was
>> working nicely, using arm-rtems4.11-gcc to do compiles, but it was getting
>> a bit out of date.
>> 
>> I grabbed the latest source builder distribution and reinstalled RTEMS
>> tools from scratch.
>> 
>> Suddenly Eclipse is using "gcc" to do compiles, which doesn't exist.
>> 
>> I tried munging the make files, but they get rebuilt every time you do a
>> build.
>> I tried munging the .cproject file, but it gets rebuilt every time you do
>> a build.
>> I tried munging the eclipse project preferences C/C++ Build/Settings/Tool
>> Settings/RTEMS C Compiler/Command, but it gets reset on Apply.
>> There are no automake files to deal with.
>> Log off/on reboot doesn't do it either.
>> 
>> Arrg.
>> 
>> What is the magic spell that I have to use to reset the compiler name
>> prefix?
>> 
>> Thanks a lot,
>> 
>> Andrei from the Great White North
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> users mailing list
>> users at rtems.org
>> http://lists.rtems.org/mailman/listinfo/users




More information about the users mailing list