2011-02-12 02:06:06     Development Host Eclipse Setup

Document created by Aaronwu Employee on Oct 16, 2013
Version 1Show Document
  • View in full screen mode

2011-02-12 02:06:06     Development Host Eclipse Setup

Chandrashekhar Lavania (INDIA)

Message: 98100   

 

Hi,

 

I am trying to setup the eclipse on my development host which runs Ubuntu 10.10, but I am not able to setup the toolchains in it. I face the following issues...

 

1. Even after adding the plugins for the toolchains from http://blackfin.uclinux.org/eclipse/ , I am not able to build the projects in eclipse

 

2. The FDPIC/FLAT/BARE METAL options for the new project come up only when I ask it to show unsupported formats. This can be seen in img1.png

 

3. Also in advanced settings of the project, I am unable to set the silicon revision to be used as can be seen in img2.png . It is important to set the silicon revision especially for the bare metal projects.

 

4. When I try to build the projects I get Error 127 i.e for FDPIC.........bfin-linux-uclibc-gcc : not found. This can be seen in img3.png . But if I go to the debug folder of the project and do make all...then the build goes fine

 

5. Also If I import an earlier made project and try to look at its settings....then I get that the settings page contains invalid data.....this is for the FDPIC/FLAT/BARE Metal Projects

 

6. Another issue is that I can only install the Blackfin Toolchain or the GDB hardware debug plugin. Not both at the same time

 

7. img4.png shows the currently installed plugins.

 

I am using eclipse galileo and hence had to install the CDT plugins.

 

I am wondering where I am going wrong?

 

 

 

Regards,

 

Shekhar

 

img3.png

img2.png

img4.png

img1.png

QuoteReplyEditDelete

 

 

2011-02-12 02:31:36     Development Host Eclipse Setup

Akash Agarwal (UNITED STATES)

Message: 98101    > Hi, Shekhar

 

 

I had face the similar problem (1,3,4)

The way it gets solved is you include the tool chain in your path before

u start the eclipse, if u see the console from where u started eclipse, it

will be giving u errors

 

Thanks

Akash

QuoteReplyEditDelete

 

 

2011-02-12 03:29:39     Re: Development Host Eclipse Setup

Chandrashekhar Lavania (INDIA)

Message: 98110   

 

Hi Akash,

 

I did try that....i.e.......added them in the system path ( the PATH environment variable and exported it in .bashrc) and restarted my system so they were in the path before I started eclipse.....but I still get the same problem.....its wierd...

 

 

 

Thanks and Regards,

 

Shekhar

QuoteReplyEditDelete

 

 

2011-02-12 03:39:41     Re: Development Host Eclipse Setup

Akash Agarwal (UNITED STATES)

Message: 98111    > Does your shell where you started eclipse give u any error or any message ?

QuoteReplyEditDelete

 

 

2011-02-12 14:19:39     Re: Development Host Eclipse Setup

Mike Frysinger (UNITED STATES)

Message: 98115   

 

your env setup is most likely incorrect.  simply adding to .bashrc does not change "the system path", nor would rebooting suddenly fix it.

 

eclipse itself allows updating of env vars.  search the forums -- other people have hit and documented this before.

QuoteReplyEditDelete

 

 

2011-02-14 08:27:08     Re: Development Host Eclipse Setup

Chandrashekhar Lavania (INDIA)

Message: 98157   

 

Hi,

 

Thanks to both Akash and Mike for their help.

 

I was earlier running the eclipse from the startup menu. When I executed the eclipse from my shell, it worked fine. I got the hint from the following link.

 

 

 

http://blackfin.uclinux.org/gf/project/toolchain/forum/?_forum_action=ForumMessageBrowse&thread_id=41117&action=ForumBrowse

 

 

 

Thanks and Regards,

 

Shekhar

QuoteReplyEditDelete

 

 

2011-02-21 07:29:12     Re: Development Host Eclipse Setup

Chandrashekhar Lavania (INDIA)

Message: 98293   

 

Hi,

 

I changed the path value in eclipse and now it works fine.  But there are still a couple of issues to be solved:

 

1. I have to modify the PATH value if I create a new workspace as the PATH value is not mirrored in  all the workspaces.

 

2.  This is a similar issue to point 2 of my original message in this thread. The only difference is that now I can build the projects for the toolchains which appear when I de-select the show only supported toolchain option (FDPIC/FLAT/Bare METAL).

 

 

 

What needs to be modified to rectify these issues?

 

 

 

Regards,

 

Shekhar

QuoteReplyEditDelete

 

 

2011-02-21 10:11:06     Re: Development Host Eclipse Setup

Mike Frysinger (UNITED STATES)

Message: 98296   

 

set your PATH before you run eclipse then.  all of your issues simply boil down to that.

 

QuoteReplyEditDelete

 

 

2011-02-21 10:23:05     Re: Development Host Eclipse Setup

Alf Nilsson (SWEDEN)

Message: 98299   

 

Hi,

 

Try updating the PATH variable in the following file:

 

/etc/environment

 

Worked under Kubuntu10.04 with eclipse, but if it's the right solution or not I dare not say.

 

Regards,

 

//Alf

QuoteReplyEditDelete

 

 

2011-09-01 15:20:38     Re: Development Host Eclipse Setup

Alexandre Morris (CANADA)

Message: 103252   

 

Hi,

 

 

 

I had a similar problem. After trying some random stuff, I searched for eclipse on the Synaptic Package Manager (on Ubuntu) and I found CDT. Even if CDT was installed through the Eclipse install manager, I still had error 127. After installing CDT using the package manager, the problem was gone.

 

 

 

Hope this help.

 

 

 

Alex

Attachments

Outcomes