homes.cs.washington.edu · web viewunder c/c++ build uncheck use default build command. it should...

6
The Down and Dirty Mac Eclipse setup tutorial Required: Xcode tools (Install from OS 10.X cd, or or Xcode 3 at http://developer.apple.com/technologies/xcode.html ) GNU ARM Tools (Download and Install) http://sourceforge.net/projects/makingthings/files/GnuArm %20Tools/GnuArmTools-0.1/GnuArmTools.dmg/download GNU Arm Eclipse plugin http://sourceforge.net/projects/gnuarmeclipse/ Instructions: Download eclipse from: http://www.eclipse.org/downloads/packages/eclipse-ide-cc- developers/heliossr1 Install by dragging the unpacked folder from the .tar.gz file (double click to open) to your Applications folder in your hard drive. Open the folder and double click the link to start eclipse. In eclipse, select the Help-> Install New Software

Upload: others

Post on 22-Mar-2020

8 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: homes.cs.washington.edu · Web viewUnder C/C++ Build uncheck Use default build command. It should look like below. Try building. If you followed the instructions in lab 1, you should

The Down and Dirty Mac Eclipse setup tutorial

Required:Xcode tools (Install from OS 10.X cd, or or Xcode 3 at

http://developer.apple.com/technologies/xcode.html)

GNU ARM Tools (Download and Install)http://sourceforge.net/projects/makingthings/files/GnuArm%20Tools/GnuArmTools-0.1/GnuArmTools.dmg/download

GNU Arm Eclipse pluginhttp://sourceforge.net/projects/gnuarmeclipse/

Instructions:

Download eclipse from:

http://www.eclipse.org/downloads/packages/eclipse-ide-cc-developers/heliossr1

Install by dragging the unpacked folder from the .tar.gz file (double click to open) to your Applications folder in your hard drive.

Open the folder and double click the link to start eclipse.

In eclipse, select the Help-> Install New Software

Page 2: homes.cs.washington.edu · Web viewUnder C/C++ Build uncheck Use default build command. It should look like below. Try building. If you followed the instructions in lab 1, you should

Click Add… on the far right

Click Archive

Page 3: homes.cs.washington.edu · Web viewUnder C/C++ Build uncheck Use default build command. It should look like below. Try building. If you followed the instructions in lab 1, you should

Select the file that you downloaded from: http://sourceforge.net/projects/gnuarmeclipse/

Called: org.eclipse.cdt.cross.arm.gnu_0.5.3.201010141144.zip

Page 4: homes.cs.washington.edu · Web viewUnder C/C++ Build uncheck Use default build command. It should look like below. Try building. If you followed the instructions in lab 1, you should

Click Open and then Okay on the previous screen. Your screen should now look like:

Click to the box to select “CDT GNU Cross Development Tools”

Click Next until you can click Finish.

Create a project (Follow instruction in Lab1)

Before building, in eclipse, open main.c, and click in the editor. Now, in the tool bar at the top, open project -> Properties

Page 5: homes.cs.washington.edu · Web viewUnder C/C++ Build uncheck Use default build command. It should look like below. Try building. If you followed the instructions in lab 1, you should

Under C/C++ Build uncheck Use default build command. It should look like below.

Try building. If you followed the instructions in lab 1, you should be able to compile your project without errors.

(Note, to use mchelper, you must download mchelper 2.5.0 and install OSXUploader before using the mchelper package)