Integrating LLVM-GCC with eclipse - eclipse

I'm currently doing some development on the llvm-gcc compiler, using llvm-gcc-4.2-2.0 front-end and the llvm-2.9 back-end. For about seven months I've been doing the development using text viewers, building the compiler using the terminal and debugging using print statements "you could probably imagine what kind of pain that is".
Here's what I need help with. How do I integrate llvm and gcc into an Eclipse Juno IDE?
I'm interested in building the compiler from eclipse, code completion and run-time debugging. I already tried integrating it but it didn't really work out, I keep getting errors in the source files, some header files can't be found and opened.
I would appreciate any help I could get. Thanks in advance.

Related

Haxe/OpenFL in FlashBuilder/Eclipse?

I am looking for a possible solution of developing Haxe/OpenFL applications on a Mac.
While Windows has a very good IDE, the Macs are left much weaker support.
I tried every IDE I could find for mac that has a Haxe plug-in, but they often lack basic features and are pretty outdated and buggy.
Is there a way to install Haxe SDK and have an ability to use OpenFL API on Flash Builder (4.7 would be best)? Flash Builder is based on Eclipse, maybe I can find plug-in for Eclipse?
If not, how does one write their own plug-in?
NOTE: I know of Win emulators that helps to run FD on a Mac, but I cannot have that option right now.
there is a Haxe bundle for SublimeText 2 and i think it's quite complete for Haxe development
https://github.com/clemos/haxe-sublime-bundle
Lots of developer also say that IntelliJ is a way to go http://www.jetbrains.com/idea/
But i have never try it yet.
There is a list of IDEs over here:
http://haxe.org/com/ide
I'm not sure how up-to-date the list is. If you want to build an editor, consider joining this project http://www.indiegogo.com/projects/cactus-ide

AVR - Can't add Programmer on Eclipse

I want to use Eclipse to develop code I will be uploading to my Atmega 2560 microcontroller. I could easily use the Arduino IDE to do this, but in my opinion, developing on Eclipse is a whole lot easier.
So, I followed this guide.
I get to the step where I have to add a programmer, but when I click on the Add button, nothing happens.
Does anyone have an idea as to what might be the problem?
The issue here is that 6.0.x series of avrdude uses a different configuration file which the avr-eclipse plugin is not able to parse. There is a ticket filed for this in the bug tracker in SourceForge.
A temporary solution would be to downgrade to avrdude 5.11.x.
Cheers.
I tried to use Eclipse for Arduino development and I followed this tutorial too but it didn't work for me. Also I couldn't find normal description of how I have to use it. From the other side so called Arduino IDE in my opinion isn't IDE it's very primitive buggy editor(looks like amateur product).
To upload my program to Atmega controller I decided to use avrdude direct from the console, where I specify programmer type and hex file that I want to upload. In this case I write program in c and use avrgcc toolchain for compiling and linking. However the question about IDE is still opened for me(the main problem for me that I don't know how to debug my code without IDE).
Also exist Atmel IDE AVrStudio. I didn'y try to use it, my I will mention it like a variant that you can try if you want.
Getting AVRDude (used by the AVR-ecplipse plugin) running on Windows with USB connected AVR programmers can be a real pain, often involving very specific driver uninstall/install sequences, such as those described at the bottom of this forum topic. I used to use Eclipse for my AVR programming, but have since moved to the new iteration of Atmel Studio. Version 6 is now available, and its relatively straight forward to get everything working well. There are a few things odd about it, but it has improved a lot since AS4.

Is the scala eclipse IDE stable enough?

I use eclipse as my scala IDE. But It seems not so good. I can build my project using maven successfully. But eclipse always warn me there's compilation error. Any has experience of scala eclipse plugin ? Thanks BTW I use scala IDE for 2.8.1
There is a new Eclipse plug-in which is in the final stages of release, currently in beta 4 which offers numerous improvements including stability. It runs with Scala 2.9.
You can download and try it for yourself. More information and download available here:
http://www.scala-ide.org/
Also, be sure to read on improving Eclipse performance, I find a few of these tweaks makes a big difference. Here are some answers on Stackoverflow regarding that:
How can you speed up Eclipse?
What are the best JVM settings for Eclipse?
I've been using all three major IDEs over the last few days for Scala.
Eclipse is pretty good and perfectly useable although you will encounter a few bugs - silly things like you can't load compiler plugins if you have a space in your plugin folder pathname. It also behaved pretty badly a few times and wouldn't run anything until I restarted Eclipse, but this might be partly because I'm new to it and maybe have been doing something wrong. One thing that is good about Eclipse is that the build time is a lot quicker than for the other two - I think this is because it does and "incremental build". Or maybe it's just more optimized, but it's noticeable.
I would recommend trying the latest version of IntelliJ (10.5). It seems to be the best at the moment with the fewest rough edges, and the only one to have Scaladoc support integrated. I haven't used it much but first impressions are good.
The NetBeans plugin seems to be getting left behind a bit (there's only one guy working on it), which is a shame because it has IMO easily the best code editor for Java, with excellent predictive capabilities which you don't get for Scala at the moment. I'll continue to use it for Java, but the Scala plugin development is a bit sparse. (Although it might be because I'm using a beta version, because that's all that's available right now for Scala 2.9.)

Eclipse Blackberry Preprocessor Not Working?

I've already followed the directions # Using preprocessor directives in BlackBerry JDE plugin for eclipse? for making sure the blackberry plugin preprocessing hook is (theoretically) enabled.
I'm using Eclipse 3.5.1 with Blackberry Plugin 1.1 with BB SDKs 4.7.0 and 4.6.0.
I have my preprocessor defines set (and I've tried in both the Project's Blackberry Properties as well as the Workspace Blackberry Build settings), and checked their capitalization and spelling carefully too.
I'm fairly confident the actual code to say "this stuff should be preprocessed" is good, because including/excluding preprocessed code seems to work fine on command line builds:
//#preprocess --- at beginning of file
and then code blocks like this throughout:
//#ifndef jde_4_7
/*
//#endif
//#ifdef jde_4_7
import net.rim.device.api.ui.TouchEvent;
//#endif
//#ifndef jde_4_7
*/
//#endif
So what I can't figure out what else could be wrong that would cause Eclipse to not compile in my preprocessed code unless I remove the comments that are supposed to prevent the touch code from building into a build for blackberries that don't support touch.
At one point it used to work (and no I haven't updated Eclipse), but sometime in the last couple of weeks it seemed to just stop working. And I'm getting kind of tired of the error-prone process of searching for ifdefs and manually commenting/uncommenting touch code and looking for a better solution while I do testing and initial development requiring testing both touch and non-touch functionality.
Any other ideas on what could be wrong or how to fix it?
I managed to get this working by adding this in the eclipse ini file
osgi.framework.extensions=net.rim.ejde.preprocessing.hook
you would probably already have osgi.framework.extensions. Just add net.rim.ejde.preprocessing.hook to it.
Yeah, I've had the same experience with this. Seems like they've dropped support for it with their new plug-in. Sometimes it feels like those guys can't get anything right. If you want preprocessing I'm afraid you'll have to use Eclipse 3.4 and the old plug-in (1.0.67). You can go here and fetch a bundled eclipse 3.4 with the said plug-in and any other component pack you may need.

Ada/Eclipse Integration

Are there any freely available Ada plugins eclipse. Eclipse is my main IDE and I occasionally need to read and modify some Ada, having it all in the one IDE would be ideal.
For Eclipse, AdaCore distributes and maintains the GNATBench plug-in, though I've never personally used it. I believe it is not GNAT specific, so it may still be of value even if you're using a different compiler--but I could be wrong on that :-)
If you're using the GNAT Ada compilation system, you've got a fully Ada-aware IDE in their GNAT Programming Studio (GPS), which is what I've been using ever since it finally stabilized a few years ago. It's got the jump-to-definition, get references, specialized search, etc., capabilities that you'd expect.
These, as well as the rest of AdaCore's GPL Ada development environment and tools, are available from AdaCore's Libre website. Download page is here.
If all you need is syntax highlighting, then maybe EclipseColorer will do the trick for you? It's a general-purpose extensible syntax highlighting engine that has definitions for Ada out of the box.
You may also want to check out Hibachi:
The goal of the Hibachi project is to create an Ada Integrated Development Environment (IDE) and tooling framework for the Eclipse platform.