Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » How to compile / run C== program (Moved from Beginners )
How to compile / run C== program [message #1769130] Wed, 26 July 2017 21:52 Go to next message
Anne Creek is currently offline Anne CreekFriend
Messages: 275
Registered: September 2014
Senior Member
I have been asked to move my question here


I first used Eclipse (C++) couple of years back and remember something about "configuring" before "Run". Still not sure what needs to be done before I can actually compile and "run" the app.
It definitely varies between Eclipse 3.8 and the latest Oxygen.
Is there a documentation describing the correct process and why?
I can probably figure it out how to google for it if I get link to either version doc, 3.8 or oxygen.
Thanks
Re: How to compile / run C== program [message #1769153 is a reply to message #1769130] Thu, 27 July 2017 07:10 Go to previous messageGo to next message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 742
Registered: August 2014
Senior Member
You can start by reading the CDT help from the help files of Eclipse.
Open Eclipse, pick from menu 'Help' -> 'Help Contents' and read the branch on C/C++ Development User Guide.


--

Tauno Voipio
Re: How to compile / run C== program [message #1773523 is a reply to message #1769130] Thu, 28 September 2017 19:54 Go to previous message
Anne Creek is currently offline Anne CreekFriend
Messages: 275
Registered: September 2014
Senior Member
https://www.eclipse.org/forums/index.php/t/1089131/

I am asking same question.
So far "help" contents has been a joke, so I won't even bother.

Here is what I have been doing, not necessary correct verbiage , but the principal should work.

Start with "New - > C project ... "hello world" ... "Finish"
You MAY get your project.c file - "Hello world " on C/C++ ( default) perspective.

Than go to ( Project menus) Properties and just add "verbose" to compiler options.

Than check basic configuration - it should be only "Debug" active.
Next do "Build Project" . Watch for "smoke" / compilation / linker outputs.

Than change the project.c to your code.

From here - it is a hit and try this gamble, most of the time.
Good luck.


Previous Topic:Remote Debugging Issue
Next Topic:Can't view object content when debugging C++ project with eclipse
Goto Forum:
  


Current Time: Fri Mar 29 00:55:02 GMT 2024

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

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

Back to the top