Re: [fossil-users] Compile Fossil with Tiny C Compiler

2013-01-30 Thread Paolo Bolzoni
On Wed, Jan 30, 2013 at 10:46 PM, Stephan Beal wrote: > i've written the tcc team expressing my amazement at this type of result, > but they respond to my excitement with a sober, "but the runtime code is not > as fast as gcc's." (Also, tcc's warning/error messages are, in general, not > nearly as

Re: [fossil-users] Proper use of "revert"

2013-01-30 Thread LluĂ­s Batlle i Rossell
On Wed, Jan 30, 2013 at 02:48:33PM -0800, Arnel Legaspi wrote: > Hello - > > Yesterday I needed to revert back a commit involving 2 files to its parent > commit. > The working copy was at the tip (1255785c96) and I needed to get back to > revision 4002407825. > When I tried running "fossil revert

[fossil-users] Proper use of "revert"

2013-01-30 Thread Arnel Legaspi
Hello - Yesterday I needed to revert back a commit involving 2 files to its parent commit. The working copy was at the tip (1255785c96) and I needed to get back to revision 4002407825. When I tried running "fossil revert -r 4002407825" I got the following error: fossil: the --revision option does

Re: [fossil-users] Latest stable release or dev release does not compile with option: --static

2013-01-30 Thread Jan Nijtmans
2013/1/30 Jan Nijtmans : > The $tclconfig(TCL_LIBS) contains the "-ldl", but > $tclconfig(TCL_STUB_LIB_SPEC) does not, which is > OK. (the stub library doesn't use dlopen, fossil does) > > Somehow, fossil should add "-ldl" here, such that the > --with-tcl-stubs option works in combination with --st

Re: [fossil-users] Compile Fossil with Tiny C Compiler

2013-01-30 Thread Stephan Beal
On Wed, Jan 30, 2013 at 10:29 PM, Sergei Gavrikov wrote: > I search through the list for /Fabrice Bellard/ and found nothing. His > famous Tiny C Compiler (http://en.wikipedia.org/wiki/Tiny_C_Compiler > http://bellard.org/tcc/) is well-known in Tcl community and they know > its strengths. > It's

Re: [fossil-users] Latest stable release or dev release does not compile with option: --static

2013-01-30 Thread Nico Williams
On Wed, Jan 30, 2013 at 2:58 PM, Stephan Beal wrote: > On Wed, Jan 30, 2013 at 8:45 PM, Sergei Gavrikov > wrote: >> >> Incidentally, there is another opinion, Never use static linking! >> >> http://www.akkadia.org/drepper/no_static_linking.html > > > On a related note, Solaris 10 removed static

[fossil-users] Compile Fossil with Tiny C Compiler

2013-01-30 Thread Sergei Gavrikov
Hi [The below is thanking -static issue] I search through the list for /Fabrice Bellard/ and found nothing. His famous Tiny C Compiler (http://en.wikipedia.org/wiki/Tiny_C_Compiler http://bellard.org/tcc/) is well-known in Tcl community and they know its strengths. I want to share here my 2-minu

Re: [fossil-users] Latest stable release or dev release does not compile with option: --static

2013-01-30 Thread Stephan Beal
On Wed, Jan 30, 2013 at 8:45 PM, Sergei Gavrikov wrote: > Incidentally, there is another opinion, Never use static linking! > > http://www.akkadia.org/drepper/no_static_linking.html On a related note, Solaris 10 removed static versions of their system libraries, due to a long history of static

Re: [fossil-users] Latest stable release or dev release does not compile with option: --static

2013-01-30 Thread Sergei Gavrikov
On Wed, 30 Jan 2013, K. Fossil user wrote: > People would like to use a DVCS everywhere with any distro with the > SAME binary, not the one specific to a distro. First, I do not say that build process for a static executable should fail. But at least such process is not trivial (it was given a lo

Re: [fossil-users] Latest stable release or dev release does not compile with option: --static

2013-01-30 Thread Richard Hipp
On Wed, Jan 30, 2013 at 12:30 PM, K. Fossil user < ticketpersonnal-fos...@yahoo.fr> wrote: > People would like to use a DVCS everywhere with any distro with the SAME > binary, not the one specific to a distro. > I concur. Unfortunately, this is a function of the distro more than of the applicat

Re: [fossil-users] Latest stable release or dev release does not compile with option: --static

2013-01-30 Thread K. Fossil user
-DLL = Windows. I do not use window$ -Warning does not stop compiling... :-) -Why do I ask for --static compilation to succeed Don't forget that if you would like Fossil to be used, it must be easy to compile, especially with option --static. People would like to use a DVCS everywhere with any d

Re: [fossil-users] Latest stable release or dev release does not compile with option: --static

2013-01-30 Thread Joerg Sonnenberger
On Wed, Jan 30, 2013 at 11:10:46AM +0100, Jan Nijtmans wrote: > and encountered 2 minor problems on Linux: > - "strcmp" from the static C library cannot be used, it should be > replaced by "fossil_strcmp" everywhere. (that's a good idea > anyway, as strcmp is locale-dependant) No, it isn't. Th

Re: [fossil-users] Latest stable release or dev release does not compile with option: --static

2013-01-30 Thread Sergei Gavrikov
On Wed, 30 Jan 2013, Jan Nijtmans wrote: > 2013/1/30 Richard Hipp wrote: > > I'm uncomfortable with this change. If we need to use fossil_strcmp() > > everywhere (which surprises me, since strcmp() should *not* be subject to > > localization) then we should do so explicitly, and not depend on > >

Re: [fossil-users] Latest stable release or dev release does not compile with option: --static

2013-01-30 Thread Richard Hipp
I'm not yet convinced this is a problem that needs fixing. D. Richard Hipp - d...@sqlite.org Sent from phone - pardon brevity On Jan 30, 2013 11:00 AM, "Jan Nijtmans" wrote: 2013/1/30 Richard Hipp : > I'm uncomfortable with this change. If we need to use fossil_strcmp() > everywhere (which sur

Re: [fossil-users] Latest stable release or dev release does not compile with option: --static

2013-01-30 Thread Jan Nijtmans
2013/1/30 Richard Hipp : > I'm uncomfortable with this change. If we need to use fossil_strcmp() > everywhere (which surprises me, since strcmp() should *not* be subject to > localization) then we should do so explicitly, and not depend on > preprocessor magic, as the preprocessor magic will likel

Re: [fossil-users] Latest stable release or dev release does not compile with option: --static

2013-01-30 Thread Scott Robison
And never mind, I guess I was wrong. Not sure why I couldn't have checked that *before* clicking send, but c'est la vie. SDR On Wed, Jan 30, 2013 at 8:19 AM, Richard Hipp wrote: > > > On Wed, Jan 30, 2013 at 8:11 AM, Jan Nijtmans > wrote: >> >> 2013/1/30 Sergei Gavrikov : >> > [FYI] >> > >> > A

Re: [fossil-users] Latest stable release or dev release does not compile with option: --static

2013-01-30 Thread Scott Robison
While I agree that the -Dstrcmp... solution is inadequate, strcmp is subject to the system locale setting. While it might default to the C locale (giving the expected binary comparison behavior), it might not. One may not consider locale the same as localization, but whatever you choose to call it,

Re: [fossil-users] Latest stable release or dev release does not compile with option: --static

2013-01-30 Thread Richard Hipp
On Wed, Jan 30, 2013 at 5:10 AM, Jan Nijtmans wrote: > 2013/1/29 Stephan Beal : > > On Tue, Jan 29, 2013 at 9:00 AM, K. Fossil user > > wrote: > >> Latest stable release or dev release does not compile with option: > >> --static > > ... > > Like networking libs, it will produce warnings like: >

Re: [fossil-users] Latest stable release or dev release does not compile with option: --static

2013-01-30 Thread Richard Hipp
On Wed, Jan 30, 2013 at 8:11 AM, Jan Nijtmans wrote: > 2013/1/30 Sergei Gavrikov : > > [FYI] > > > > An optimized (-O2) default build with entered substitution > > -Dstrcmp=fossil_strcmp fails (SIGSEG) on i686 GNU/Linux > ... > > Program received signal SIGSEGV, Segmentation fault. > ... > > Tha

Re: [fossil-users] Latest stable release or dev release does not compile with option: --static

2013-01-30 Thread Jan Nijtmans
2013/1/30 Stephan Beal : > On Wed, Jan 30, 2013 at 11:10 AM, Jan Nijtmans > wrote: >> >> >Fossil's TCL support also appears to use dlopen() >> - The link flag "-ldl" is missing on Linux. That's the shared library >> containing "dlopen",so - indeed - without it, Tcl support will not work. > > > W

Re: [fossil-users] Fix for wiki URL markup

2013-01-30 Thread Stephan Beal
On Wed, Jan 30, 2013 at 12:54 AM, David Given wrote: > (How does one go about submitting a contributor agreement?) > Hi! http://www.fossil-scm.org/fossil/doc/trunk/www/copyright-release.html That needs to be printed out, filled out, and snail-mailed to the address at the bottom of the form. -

Re: [fossil-users] Latest stable release or dev release does not compile with option: --static

2013-01-30 Thread Stephan Beal
On Wed, Jan 30, 2013 at 11:10 AM, Jan Nijtmans wrote: > >Fossil's TCL support also appears to use dlopen() > - The link flag "-ldl" is missing on Linux. That's the shared library > containing "dlopen",so - indeed - without it, Tcl support will not work. > Which flavour of linux are you on? On m

Re: [fossil-users] Latest stable release or dev release does not compile with option: --static

2013-01-30 Thread Jan Nijtmans
2013/1/30 Sergei Gavrikov : > [FYI] > > An optimized (-O2) default build with entered substitution > -Dstrcmp=fossil_strcmp fails (SIGSEG) on i686 GNU/Linux ... > Program received signal SIGSEGV, Segmentation fault. ... Thanks! That's fully explainable: When setting -Dstrcmp=fossil_strcmp before

Re: [fossil-users] Latest stable release or dev release does not compile with option: --static

2013-01-30 Thread Sergei Gavrikov
On Wed, 30 Jan 2013, Jan Nijtmans wrote: > 2013/1/29 Stephan Beal: > > On Tue, Jan 29, 2013 at 9:00 AM, K. Fossil user wrote: > >> Latest stable release or dev release does not compile with option: > >> --static > > ... > > Like networking libs, it will produce warnings like: > > > > warning: Usin

Re: [fossil-users] Fix for wiki URL markup

2013-01-30 Thread David Given
David Given wrote: [...] > // is a rather obscure but incredibly handy feature of URLs that a lot > of people don't know about. It's an *absolute* URL using the same schema > as the currently loaded page. Hmm. There's a bit more to making this work than the wiki formatter. I'd also like // to be s

Re: [fossil-users] Latest stable release or dev release does not compile with option: --static

2013-01-30 Thread Jan Nijtmans
2013/1/29 Stephan Beal : > On Tue, Jan 29, 2013 at 9:00 AM, K. Fossil user > wrote: >> Latest stable release or dev release does not compile with option: >> --static > ... > Like networking libs, it will produce warnings like: > > warning: Using 'dlopen' in statically linked applications requires