Re: Problems with last Scons

2006-06-15 Thread Bo Peng
Sorry, I didn't understand. This is used like this right: scons CCFLAGS=-"-O3 -w" ... No. Say, you specified CCFLAGS in one run, and do not want to use it the next time, you do scons load_options=-CCFLAGS Other options will be loaded as usual. Bo

Re: Problems with last Scons

2006-06-14 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Bo Peng wrote: All is fine now, except that the CCFLAGS of previous mingw build is restored for the msvc build. I guess this is unavoidable and a "del env.cache" solves the problem anyway. I implemented load_option=-opt1,opt2 and load_option=opt1,opt2 . The first one m

Re: Problems with last Scons

2006-06-14 Thread Abdelrazak Younes
Bo Peng wrote: All is fine now, except that the CCFLAGS of previous mingw build is restored for the msvc build. I guess this is unavoidable and a "del env.cache" solves the problem anyway. I implemented load_option=-opt1,opt2 and load_option=opt1,opt2 . The first one means do not load opt1, opt

Re: Problems with last Scons

2006-06-14 Thread Bo Peng
All is fine now, except that the CCFLAGS of previous mingw build is restored for the msvc build. I guess this is unavoidable and a "del env.cache" solves the problem anyway. I implemented load_option=-opt1,opt2 and load_option=opt1,opt2 . The first one means do not load opt1, opt2,, the second o

Re: Problems with last Scons

2006-06-14 Thread Abdelrazak Younes
Bo Peng wrote: > I have problems with either mingw or msvc: > I cannot reproduce bug 1. Sorry, my fault! I forgot to call scons in a MSVC2005 console. Could you svn update and see if the fix for bug 2 fixes bug 1? All is fine now, except that the CCFLAGS of previous mingw build is restor

Re: Problems with last Scons

2006-06-14 Thread Bo Peng
> I have problems with either mingw or msvc: > I cannot reproduce bug 1. Could you svn update and see if the fix for bug 2 fixes bug 1? Bo

Re: Problems with last Scons

2006-06-14 Thread Bo Peng
The second one is easy, please apply the following patch. Still checking the first one. Index: development/scons/SConstruct === --- development/scons/SConstruct(revision 14113) +++ development/scons/SConstruct(working

Problems with last Scons

2006-06-14 Thread Abdelrazak Younes
Hello Bo, I have problems with either mingw or msvc: D:\devel\lyx\trunk\development\scons>msvc_scons.bat D:\devel\lyx\trunk\development\scons>scons use_vc=yes build_dir=msvc frontend=qt4 qt_dir=d:/program/Qt/4.1 extr a_inc_path=d:/program/GnuWin32/include extra_lib_path=d:/program/GnuWin32/li