Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Configure cross GCC command
Configure cross GCC command [message #1706493] Thu, 27 August 2015 10:47
Nicolai Lindskov is currently offline Nicolai LindskovFriend
Messages: 3
Registered: August 2015
Junior Member
Hello!

(tl;dr - How to configure cross gcc path and prefix upon starting a new project?)

I've run into what I think is a minor problem, but I'm unsure how to solve it.

I am trying to get Eclipse up and running for programming in C. I've installed MinGW and Msys as per the instructions given here:

max.berger.name/howto/cdt/ar01s03.html

I've made the checks the above guide recommends (as can be seen in the cmd window in the attached screenshot). I've also set up my Path as can also be seen.

Now, my problem is that Eclipse asks me to point to configure a cross gcc path and prefix, when I try and start a new C project. The dialogue opens up asking for a project name. I enter one such and click next. It's then listing some configurations (Debug and Release). When clicking next I am then asked to configure the abovementioned cross gcc path and prefix.

My problem is: I'm a novice programmer. I've never set up and IDE that doesn't include the compiler in the install (ie. visual studio, matlab, vba etc.), and I have absolutely no idea what a cross compiler is!

I have an inkling that I have to point it towards MinGW, but in setting the Path environment I was under the impression that it should pick this up automatically.

So here I am after 3-4 nights of googling and I hope you can tell me which direction to point Eclipse so I can get started with C Smile

I'm running Windows 7 64-bit and I used the .zip download/unpack instead of the Eclipse-installer, since Eclipse wouldn't recognize JRE if I used the installer.

/Nic'

Screenshot: https://www.eclipse.org/forums/index.php?t=getfile&id=23008&

PS. I'm aware I've posted this already in the newcomers forum, but I was advised to put it here instead. Sorry for the cross-post.

[Updated on: Thu, 27 August 2015 10:48]

Report message to a moderator

Previous Topic:Compile a C program for STM32 ARM
Next Topic:Adding dates to task pane
Goto Forum:
  


Current Time: Thu Apr 25 00:13:13 GMT 2024

Powered by FUDForum. Page generated in 0.03840 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top