|Inferring include paths and make targets from existing Makefile in Eclipse [message #939508]
||Wed, 10 October 2012 20:36
| Ribonous firstname.lastname@example.org
Registered: October 2012
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 :
* 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 20:54]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01691 seconds