Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Linker dependency isn't working(Updates to libraries not getting linked into executable)
Linker dependency isn't working [message #873196] Thu, 17 May 2012 17:00 Go to next message
Tim Anderson is currently offline Tim AndersonFriend
Messages: 19
Registered: April 2011
Junior Member
I have a workspace with multiple projects that are libraries and a single project that is an executable that links in the libraries.

My problem is that when I make a change to one of the files in a library and tell it to build, the library gets rebuilt but the executable does not Mad . The only way that I've been able to work around this is to Clean the workspace and have it rebuild all of the libraries and the executable which takes about 30 seconds each time I make a change to a library Shocked . It seems to me that the executable project should know when a library is updated and re-link it.

Is there some way around this? Do I have my executable project set up incorrectly?

[Updated on: Thu, 24 May 2012 22:05]

Report message to a moderator

Re: Linker dependency isn't working [message #873201 is a reply to message #873196] Thu, 17 May 2012 17:08 Go to previous messageGo to next message
Tim Anderson is currently offline Tim AndersonFriend
Messages: 19
Registered: April 2011
Junior Member
Forgot to mention that I'm running Helios on Fedora 15 64-bit (if that matters).
Re: Linker dependency isn't working [message #876401 is a reply to message #873201] Thu, 24 May 2012 14:24 Go to previous messageGo to next message
elios demacia is currently offline elios demaciaFriend
Messages: 4
Registered: March 2012
Junior Member
Hi,


Take a look here : bugs.eclipse.org/bugs/show_bug.cgi?id=210248
I hope it will help you.
Re: Linker dependency isn't working [message #876502 is a reply to message #876401] Thu, 24 May 2012 18:28 Go to previous messageGo to next message
Tim Anderson is currently offline Tim AndersonFriend
Messages: 19
Registered: April 2011
Junior Member
Is it saying that this was fixed in CDT 8.0?
Re: Linker dependency isn't working [message #876713 is a reply to message #876502] Fri, 25 May 2012 07:10 Go to previous messageGo to next message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1967
Registered: July 2009
Senior Member
Tim Anderson wrote on Thu, 24 May 2012 20:28
Is it saying that this was fixed in CDT 8.0?

The bug is fixed in CDT 8.0.2 (bugfix is from November 2011 and 8.0.2 came out in February this year).


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Re: Linker dependency isn't working [message #876879 is a reply to message #873196] Fri, 25 May 2012 12:44 Go to previous messageGo to next message
elios demacia is currently offline elios demaciaFriend
Messages: 4
Registered: March 2012
Junior Member
Actually I have done several tests with CDT 8.0.2 and it seems like I have the same issue as you.
I have no clue in how to fix it.

[Updated on: Fri, 25 May 2012 12:58]

Report message to a moderator

Re: Linker dependency isn't working [message #878370 is a reply to message #876879] Tue, 29 May 2012 06:54 Go to previous messageGo to next message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1967
Registered: July 2009
Senior Member
elios demacia wrote on Fri, 25 May 2012 14:44
Actually I have done several tests with CDT 8.0.2 and it seems like I have the same issue as you.
I have no clue in how to fix it.

It seems the bugfix was only applied to the master trunk. Can you try with the latest development release?


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Re: Linker dependency isn't working [message #879086 is a reply to message #878370] Wed, 30 May 2012 13:46 Go to previous messageGo to next message
elios demacia is currently offline elios demaciaFriend
Messages: 4
Registered: March 2012
Junior Member
Axel Mueller wrote on Tue, 29 May 2012 02:54
elios demacia wrote on Fri, 25 May 2012 14:44
Actually I have done several tests with CDT 8.0.2 and it seems like I have the same issue as you.
I have no clue in how to fix it.

It seems the bugfix was only applied to the master trunk. Can you try with the latest development release?


Even with the latest development release the issue remains.
Re: Linker dependency isn't working [message #879403 is a reply to message #879086] Thu, 31 May 2012 06:49 Go to previous message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1967
Registered: July 2009
Senior Member
elios demacia wrote on Wed, 30 May 2012 15:46

Even with the latest development release the issue remains.

Then you should add your comment to the above mentioned bug report.


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Previous Topic:free c naming convention checker
Next Topic:C++11 and indexer [RESOLVED]
Goto Forum:
  


Current Time: Wed Nov 26 08:17:39 GMT 2014

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

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