Re: Scons: almost there

2006-05-10 Thread Lars Gullik Bjønnes
"Bo Peng" <[EMAIL PROTECTED]> writes: | > It is not basic building I worry about. It is things like distcheck, | > gettext, pch, warnings, stdlib-debug, install, stage-dir etc. etc. | > that I worry about. | | These will be added on a one by one basis. The advantage of scons is | that (almost) an

Re: Scons: almost there

2006-05-09 Thread Enrico Forestieri
On Tue, May 09, 2006 at 12:41:26PM -0500, Bo Peng wrote: > >--- SConstruct.orig 2006-05-09 16:29:42.0 +0200 > >+++ SConstruct 2006-05-09 19:24:12.0 +0200 > >@@ -706,7 +706,7 @@ > > if ARGUMENTS.get('mode', default_build_mode) == 'debug': > > env.Append(CCFLAGS = []) > > else:

Re: Scons: almost there

2006-05-09 Thread Bo Peng
--- SConstruct.orig 2006-05-09 16:29:42.0 +0200 +++ SConstruct 2006-05-09 19:24:12.0 +0200 @@ -706,7 +706,7 @@ if ARGUMENTS.get('mode', default_build_mode) == 'debug': env.Append(CCFLAGS = []) else: - env.Append(CCFLAGS = []) + env.Append(CCFLAGS = ['-O2']) Is this '-

Re: Scons: almost there

2006-05-09 Thread Enrico Forestieri
On Tue, May 09, 2006 at 11:11:39AM -0500, Bo Peng wrote: > Before I figure out how to pass -O3, you can edit line 707 of > Sconstruct and add things like ['O3']. (Not tested) This one did the trick: --- SConstruct.orig 2006-05-09 16:29:42.0 +0200 +++ SConstruct 2006-05-09 19:24:12.0

Re: Scons: almost there

2006-05-09 Thread Bo Peng
BTW what's the problem with aspell? I mean, it seems that "spell=aspell" fails in the final link step (even adding by hand -laspell). I added that option, and I have spell libraries checked, but did not add the libraries in. (search spell in SConstructt) Bo

Re: Scons: almost there

2006-05-09 Thread Enrico Forestieri
On Tue, May 09, 2006 at 11:11:39AM -0500, Bo Peng wrote: > >Using scons it takes only 2/3 of the time needed using auto* stuff > >for me on cygwin. But it seems that I cannot convince scons to compile > >using -O2 so, I am sorry, but the comparison is unfair. > > So you mean you succeed? Great to

Re: Scons: almost there

2006-05-09 Thread Jean-Marc Lasgouttes
> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes: Bo> Waf also claims to cache initial thinking process so null build Bo> (Lars reported a number around 24s) should be shorter there. Especially since null build are known to be very bad with recursive makefiles like we are using here. So a good bu

Re: Scons: almost there

2006-05-09 Thread Jean-Marc Lasgouttes
> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes: Bo> I know. scons lacks of a huge library of such things. I actually Bo> copied the SELECT_ARG thing from the autoconf source code. OK. So the big problem would be to make gettext fit in? >> Is there hope to avoid requiring installing SCons befo

Re: Scons: almost there

2006-05-09 Thread Bo Peng
Using scons it takes only 2/3 of the time needed using auto* stuff for me on cygwin. But it seems that I cannot convince scons to compile using -O2 so, I am sorry, but the comparison is unfair. So you mean you succeed? Great to know. Before I figure out how to pass -O3, you can edit line 707 of

Re: Scons: almost there

2006-05-09 Thread Enrico Forestieri
On Tue, May 09, 2006 at 10:09:11AM -0500, Bo Peng wrote: > >I have an idea for you Bo. Instead of specifying > >"extra_inc_path=d:/mingw/include extra_lib_path=d:/mingw/lib" it would > >be better to specify "with_mingw=d:/mingw". Then Scons could add > >automatically the include and lib paths. _And

Re: Scons: almost there

2006-05-09 Thread Bo Peng
And yes, I have > 130 days of paid leave :) If finding a job in French is easy, I will try to go there. Bo> These will be added on a one by one basis. The advantage of scons Bo> is that (almost) anyone can read SConstruct and add the feature he Bo> wants. I *will not* add every single feature

Re: Scons: almost there

2006-05-09 Thread Jean-Marc Lasgouttes
> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes: >> And you clearly showed that you had no patience. Bo> I heard that French people have >130 days of paid leave? Lars is not french, you know. And some french people have families and choose to spend their week-ends with them. And yes, I have >

Re: Scons: almost there

2006-05-09 Thread Bo Peng
I have an idea for you Bo. Instead of specifying "extra_inc_path=d:/mingw/include extra_lib_path=d:/mingw/lib" it would be better to specify "with_mingw=d:/mingw". Then Scons could add automatically the include and lib paths. _And_ Scons could search the required dll in "d:/mingw/bin/". Agreed.

Re: Scons: almost there

2006-05-09 Thread Abdelrazak Younes
Bo Peng a écrit : I just submitted another patch. With it, one can 0. scons directly under linux + lyx qt3/qt4 ... (state of yesterday) 1. scons directly using mingw + lyx qt3/4 + official zlib1.dll in a visible place I have an idea for you Bo. Instead of specifying "extra_inc_path=d:/mingw/i

Re: Scons: almost there

2006-05-09 Thread Bo Peng
And you clearly showed that you had no patience. I heard that French people have >130 days of paid leave? It is not basic building I worry about. It is things like distcheck, gettext, pch, warnings, stdlib-debug, install, stage-dir etc. etc. that I worry about. These will be added on a one b

Re: Scons: almost there

2006-05-09 Thread Bo Peng
Is the problem fixed or not? yes, But as pointed out, scons is not the only reason for renaming, (and I choose to propse a rename *after* scons fixes the problem.) Please no renaming in 1.4.x. Your decision is mine. Bo

Re: Scons: almost there

2006-05-09 Thread Lars Gullik Bjønnes
"Bo Peng" <[EMAIL PROTECTED]> writes: | | We are getting closer, I think. I still have to find time to make up | my mind about non/auto/"". | | Patience ;) | And you clearly showed that you had no patience. | I just submitted another patch. With it, one can | 0. scons directly under linux +

Re: Scons: almost there

2006-05-09 Thread Bo Peng
I forgot to thank Abdel, who figured out the right libraries to link under mingw. His work on identifying *used* macros in config.h also helped a lot. Thanks again. Bo

Re: Scons: almost there

2006-05-09 Thread Georg Baum
Bo Peng wrote: > BTW, much of my time has been wasted on the .C/.c madness under > windows. Although scons has overcomed this problem, can we make a > quick decision regarding the name change? After all, it is only "find > ... svn rename grep .. Makefile.am... perl -pi.bak" away. If you > are

Re: Scons: almost there

2006-05-09 Thread Jean-Marc Lasgouttes
> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes: Bo> Dear all, >> If nothing happens with scons in the next couple of days, I am >> going to remove it from trunk. Bo> Since when have you become so time-conscious? May I ask again Bo> ? Bo> We are getting closer, I think. I still have Bo> to

Scons: almost there

2006-05-09 Thread Bo Peng
Dear all, If nothing happens with scons in the next couple of days, I am going to remove it from trunk. Since when have you become so time-conscious? May I ask again ? We are getting closer, I think. I still have to find time to make up my mind about non/auto/"". Patience ;) I just su