Has anyone try compiling a project using Eclipse CDT and the arm-linux-4.3.2 package that comes on the factory DVD? From: http://www.bluewatersys.com/quickstart/eclipse.php Setting up the toolchain To build your project to be run on the ARM you need to change the toolchain for your project. The easiest method for doing this is to select "Project->Properties" and then select "C/C++ Build->Settings" in the properties window. Under the "Tool Settings" tab, Select "GCC C Compiler" and change "command" from gcc to arm-none-linux-gnueabi-gcc. You also need to add the arm-none-linux-gnueabi- prefix to the commands under "GCC C Linker" and "GCC Assembler". Click "Ok" to apply the changes. The resulting ELF ARM binary does not run on the mini2440. The only way I have been able to get Eclipse CDT to compile a working program is to do the following: (Using the toolchain that comes on the DVD, arm-linux-gcc-4.3.2) The important thing to realise is that with this distro it appears that you can only make C++ projects using CDT. Also, you have to call your sources files <myFile.cpp>. To be able to compile for the FriendlyArm ARM9 platform using Eclipse CDT I did the following: In Project/Properties and in - /Environment make your path to arm-linux-gcc-4.3.2/usr/local/arm/4.3.2/bin: - /Tool Chain Editor/Current toolchain chose Cross GCC - /Tool Chain Editor/Current builder chose CDT Internal Builder - /Tool Chain Editor/Select Tools chose Cross G++ compiler and linker - /Settings/Cross Settings/Prefix put in arm-none-linux-gnueabi- N.B. the – at the end. - /Settings/Cross G++ Compiler/Command there should be g++ - /Settings/Cross G++ Linker/Command there should be g++ - /Settings/Cross G++ Compiler/Miscellaneous/Other flags put –march=arm4vt this tells the compiler which machine architecture to use. By default there may be other flags in Miscellaneous, ie –c –fmessage –length=0 Can anyone explain why the first procedure doesn't work? My next step is to do a diff on the -readelf files on both projects and see if there is something different with the way they are compiled. But, if there is an easy explanation I am all ears. Thanks, Dave
Eclipse CDT and arm-linux-4.3.2
Hi, I found this tutorial to set up Eclipse: http://www.armbedded.eu/node/208 Bye
Thanks, but gave up on Eclipse about 2 and 1/2 years ago. If I ever get around to actually writing code to run on this thing I'll have another look. Dave
It was more to keep the link archieved in tthe forum and inform other people interested in the same thing! Screwface
Hello..... i want to install eclipse on my MINI2440 board from ubuntu 12.04.still iam not found any clear procedure for that.Can anyone help me.....Thank you
I don't think you want to run Eclipse on the target. Why don't you want to do the development on your Linux host?