Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Inferring include paths and make targets from existing Makefile in Eclipse
Inferring include paths and make targets from existing Makefile in Eclipse [message #939508] Wed, 10 October 2012 16:36 Go to next message
Eclipse UserFriend
I am trying to use Eclipse on an existing collection of folders with C++ and recursive Makefile files in Linux. The make files use gcc and ar, and the user specifies the path to the gcc he wants to use in the Makefile. The make files that I will be working with were typed by hand and include multiple targets besides all, clean, etc.

In Eclipse, there is an option to create a new project that looks appropriate for what I need: "Makefile project with from existing code". Is this the right option considering my situation?

Also, Eclipse CDT prompts me to choose a Toolchain for Indexer Settings :

* <none>
* cross GCC
* GNU Autotools Toolchain
* Linux GCC

Here I have two questions:

1. Which toolchain should I choose? and how does Eclipse use this information?
2. I would like Eclipse to infer as much as it can from the top-level Makefile (e.g. include paths, make targets, etc) . How can I do this?

[Updated on: Wed, 10 October 2012 16:54] by Moderator

Re: Inferring include paths and make targets from existing Makefile in Eclipse [message #985850 is a reply to message #939508] Fri, 16 November 2012 06:53 Go to previous message
Eclipse UserFriend
bump

I'd like to know this too.
Previous Topic:Including source files from a separate C++ project
Next Topic:Paths and Symbol page overide IncludeTab
Goto Forum:
  


Current Time: Wed Jul 23 13:28:35 EDT 2025

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

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

Back to the top