Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: grv575 on September 05, 2005, 09:05:19 pm

Title: relinking
Post by: grv575 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)?
Title: Re: relinking
Post by: rickg22 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" ?
Title: Re: relinking
Post by: grv575 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.
Title: Re: relinking
Post by: mandrav on September 05, 2005, 09:40:18 pm
You could just delete the output: exe, dll or whatnot (anything you want relinked).
Title: Re: relinking
Post by: grv575 on September 06, 2005, 12:58:09 am
oh true.  how about an explicit 'clean' and 'clean all' in the build menu?