Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Managed Make vs Makefile
Managed Make vs Makefile [message #147002] Mon, 20 June 2005 10:48 Go to next message
Eclipse UserFriend
Originally posted by: bilotta78.hotpop.com

Hello all,

I'm a newbie to the Eclipse platform in general and CDT in particular,
so I'm probably missing something obvious ... please bare with me :)

I'm using Eclipse 3.0.2 with CDT 2.1.1 under Windows XP. My build
environment is a standard MingW + MSYS + MSYS-DTK combo; it works
quite well and all paths are set up correctly (indeed, I can compile,
run, debug and even profile[1] my programs without troubles).

To begin with, I had chosen to use the "Managed Make C++ Project" and
import the (mixed C/C++) source files of my auld hand-crafted project.
Everything worked quite smoothly while editing and compiling, until I
created the actual "main" and thus linked the various object files
together. Apparently, the CDT managed make could not detect the
dependencies between some of the objects, thus linking all C-style
objects first, and all C++-style objects next. Since I have a C++
source depending on a C routine, the linkage bombs complaining about
undefined references.

So I switched to a "standard make project", which gave me the
flexibility to handle the things the way I needed them, but suddenly
autocompletion doesn't seem to work anymore ...

So my question is: is there a way to have the "managed" mode detect
the correct link order, or a way to specify it? If not, why doesn't my
standard make project find symbols across source files?


[1] does CDT have built-in support for profiling? I had to set up an
external tool for this ...

--
Giuseppe "Oblomov" Bilotta

Axiom I of the Giuseppe Bilotta
theory of IT:
Anything is better than MS
Re: Managed Make vs Makefile [message #147019 is a reply to message #147002] Mon, 20 June 2005 10:55 Go to previous message
Eclipse UserFriend
Originally posted by: bilotta78.hotpop.com

On Mon, 20 Jun 2005 16:48:38 +0200, Giuseppe Bilotta wrote:

> please bare with me :)

Ok, that's quite embarassing ... of course I meant "bear" not "bare".
Sigh. Not the best way to present oneself :/

--
Giuseppe "Oblomov" Bilotta

"E la storia dell'umanità, babbo?"
"Ma niente: prima si fanno delle cazzate,
poi si studia che cazzate si sono fatte"
(Altan)
("And what about the history of the human race, dad?"
"Oh, nothing special: first they make some foolish things,
then you study what foolish things have been made")
Previous Topic:Conflicting names
Next Topic:CMerge
Goto Forum:
  


Current Time: Wed Jul 23 08:10:31 EDT 2025

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

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

Back to the top