You are here

Modify and re-compile a single application in Rosetta

4 posts / 0 new
Last post
Modify and re-compile a single application in Rosetta

Hi all,

I would like to make a change to the source code of a particular application - it's a very minor, but necessary, change that should make the application more broadly applicable.

However, having made the change in the .cc file - how would I go about recompiling the code so that it links to the rest of the Rosetta package, or is the simplest way just to recompile the whole package?

Thanks in advance.


Post Situation: 
Mon, 2014-11-24 04:26

I found that deleting the executable in the build/src/release/..../default/ folder and the alias in the bin/ folder and then rerunning scons works fine - it just recompiles the modified executable.

If there is a better way, please do let me know.



Mon, 2014-11-24 07:55

Just run SCons as you normally would - no need to even delete the old binaries. SCons's job is to determine what needs recompiling and efficiently recompile only that.

Mon, 2014-11-24 08:56

Thanks smlewis - that works also.


Tue, 2014-11-25 01:16