Author Topic: relinking  (Read 5273 times)

grv575

  • Guest
relinking
« on: September 05, 2005, 09:05:19 pm »
Say I compiled codeblocks but just want to relink against different libs (useful for mpatrol memory checker.  link against libmpatrol.a to enable and link against libmpalloc.a to disable..).  I don't see a way to do this with current codeblocks.  Is it possible to add a right click menu option that does something similar to touch (updates the timestamp)?  Would a recursive touch on all the object files in the project be enough to force relinking everything (I think so but not sure)?

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: relinking
« Reply #1 on: September 05, 2005, 09:18:44 pm »
So you want an additional item in the Compile / Build menu that says "Relink" and / or "Relink all" ?

grv575

  • Guest
Re: relinking
« Reply #2 on: September 05, 2005, 09:35:49 pm »
Well I'm not sure this should go in the build menu or not.  Would it be confusing for users?  Don't think most ides have that.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: relinking
« Reply #3 on: September 05, 2005, 09:40:18 pm »
You could just delete the output: exe, dll or whatnot (anything you want relinked).
Be patient!
This bug will be fixed soon...

grv575

  • Guest
Re: relinking
« Reply #4 on: September 06, 2005, 12:58:09 am »
oh true.  how about an explicit 'clean' and 'clean all' in the build menu?