Bo Peng wrote:
Please test. The patch itself is a great example of scons'
flexibility. Note that clever use of this option will greatly reduce
initial thinking time of scons since most of the directory will *not*
even be scanned.
It works perfectly Bo. :-)
Abdel.
Abdelrazak Younes wrote:
> It is not autotools but Gnu Make which allows to override any variable
> defined in the makefiles, including CFLAGS and CXXFLAGS.
Yes. It is useful in your case (adding debug symbols to selected object
files), but even more useful if you want profiling info only for sel
Bo Peng wrote:
> Abdel,
>
> I think I now understand what you mean: you want to use existing
> libraries when CCFLAGS changes.
Not only other libraries but also all the objects of the files that do
not depend on the file I just modified. This is just an overriding of
the CCFLAGS option.
> mod
Abdel,
I think I now understand what you mean: you want to use existing
libraries when CCFLAGS changes. For example, suppose that you have
built lyx with CCFLAGS='-g' and now you want CCFLAGS='-O2' but only
rebuild the lyxbase or qt4 module, and using the rest of the -g
modules to link. This fea
Bo Peng wrote:
And the final linking is very slow with full debug... So I would be much
grateful if could indicate me a way to do this without a full recompile.
Maybe with an option to specify which files to compile?
If you separate different builds, each of them should not need
rebuild.
I _k
And the final linking is very slow with full debug... So I would be much
grateful if could indicate me a way to do this without a full recompile.
Maybe with an option to specify which files to compile?
If you separate different builds, each of them should not need
rebuild. There is no way you ca
Abdelrazak Younes wrote:
Bo Peng wrote:
I think you can do:
scons CCFLAGS='-g' mode=debug
scons CCFLAGS='-O3' mode=release
scons CCFLAGS='others' build_dir=somethingelse
I know, but I would prefer to minimize space on disk...
And the final linking is very slow with full debug... So I would be
Bo Peng wrote:
OK, I understand.
> What are
> the changed flags?
-g instead of -O3
When I modify a file, I would like to compile only affected files with
debug info. So I would like the equivalent of
make CCFLAGS="-g".
I think you can do:
scons CCFLAGS='-g' mode=debug
scons CCFLAGS='-O3' mode=
OK, I understand.
> What are
> the changed flags?
-g instead of -O3
When I modify a file, I would like to compile only affected files with
debug info. So I would like the equivalent of
make CCFLAGS="-g".
I think you can do:
scons CCFLAGS='-g' mode=debug
scons CCFLAGS='-O3' mode=release
scons CC
Bo Peng wrote:
When I change CCFLAGS everything is retested again and everything is
recompiled. Could you change that behaviour please?
But different CCFLAGS do generate different object files
OK, I understand.
What are
the changed flags?
-g instead of -O3
When I modify a file, I would l
When I change CCFLAGS everything is retested again and everything is
recompiled. Could you change that behaviour please?
But different CCFLAGS do generate different object files What are
the changed flags?
Bo
Hello Bo,
When I change CCFLAGS everything is retested again and everything is
recompiled. Could you change that behaviour please?
Thanks in advance,
Abdel.
12 matches
Mail list logo