Re: [Ecls-list] Case-sensitivity issues on Cygwin

2012-08-17 Thread Dima Pasechnik
On Fri, Aug 17, 2012 at 01:51:25PM +0200, Juan Jose Garcia-Ripoll wrote: > On Fri, Aug 17, 2012 at 1:42 PM, Dima Pasechnik wrote: > > > > > to be able to build > > 12.7.1 (git:52ca46e054d72cb0b0802e376890fcfbdfc96e5a) > > I needed the following change [...] > This *is* in master > > http://sourc

Re: [Ecls-list] building a static library that depends on CFFI

2012-08-17 Thread Simon Ortiz
Sure! Please find attached two examples. The examples use the "sin" function from libm. What I'm trying to achieve is producing a static library that makes use of foreign functions. The ECL I'm using is built without DFFI. I'm using the latest version from git. In each example you can LOAD the fi

Re: [Ecls-list] anyone able to build ecl (stable/git) on mingw ?

2012-08-17 Thread Juan Jose Garcia-Ripoll
On Fri, Aug 17, 2012 at 2:21 PM, bob wrote: > I am trying to build ecl (both stable from git) on MinGW (latest stable) > with gcc 4.7.0. But I am presented with different errors during the make > stage. Using the stable release (12.7.1) I hit upon make error while > building libsocket. So I tried

[Ecls-list] anyone able to build ecl (stable/git) on mingw ?

2012-08-17 Thread bob
I am trying to build ecl (both stable from git) on MinGW (latest stable) with gcc 4.7.0. But I am presented with different errors during the make stage. Using the stable release (12.7.1) I hit upon make error while building libsocket. So I tried configure with --with-tcp=no. But then I have error i

Re: [Ecls-list] Case-sensitivity issues on Cygwin

2012-08-17 Thread Juan Jose Garcia-Ripoll
On Fri, Aug 17, 2012 at 1:42 PM, Dima Pasechnik wrote: > > to be able to build > 12.7.1 (git:52ca46e054d72cb0b0802e376890fcfbdfc96e5a) > I needed the following change > > diff --git a/src/h/ecl-cmp.h b/src/h/ecl-cmp.h > index 7c36697..ac66dc1 100755 > --- a/src/h/ecl-cmp.h > +++ b/src/h/ecl-cmp.h

Re: [Ecls-list] Case-sensitivity issues on Cygwin

2012-08-17 Thread Dima Pasechnik
On Thu, Aug 16, 2012 at 09:29:05PM +0200, Juan Jose Garcia-Ripoll wrote: > On Sun, Aug 5, 2012 at 3:55 PM, Dima Pasechnik wrote: > > > This was mentioned last Dec on sage-devel, that on Cygwin ECL call > > > (directory "") > > sometimes can return NIL. This breaks ASDF scripts, etc. > > (this is a

Re: [Ecls-list] building a static library that depends on CFFI

2012-08-17 Thread Juan Jose Garcia-Ripoll
On Thu, Aug 9, 2012 at 1:31 PM, Simon Ortiz wrote: > Now, I would like to achieve the same using CFFI instead of FFI. Using > CFFI I tried several approaches, but I wasn't successful. Basically, I > compiled the Lisp code into a static library, but the produced library > seems not to include the

Re: [Ecls-list] Build system on Cygwin

2012-08-17 Thread Juan Jose Garcia-Ripoll
On Fri, Aug 17, 2012 at 12:46 PM, Jean-Pierre Flori wrote: > On Cygwin at least, when the linker is given the -lecl flag, it will > look for files in PATH in a certain order. > First libecl.dll.a, then ..., then cygecl.dll, then ... then ecl.dll > IIRC [...] > So if we only have cygecl.dll every t

Re: [Ecls-list] Build system on Cygwin

2012-08-17 Thread Jean-Pierre Flori
2012/8/17 Juan Jose Garcia-Ripoll : > On Fri, Aug 17, 2012 at 12:13 PM, Jean-Pierre Flori > wrote: >> >> 2012/8/15 Juan Jose Garcia-Ripoll : >> > Feel free to do so, but you will have to make sure you fix the fact that >> > ECL >> > is currently NOT using import libraries in any of the ports (cygw

Re: [Ecls-list] Build system on Cygwin

2012-08-17 Thread Juan Jose Garcia-Ripoll
On Fri, Aug 17, 2012 at 12:13 PM, Jean-Pierre Flori wrote: > 2012/8/15 Juan Jose Garcia-Ripoll : > > Feel free to do so, but you will have to make sure you fix the fact that > ECL > > is currently NOT using import libraries in any of the ports (cygwin, > mingw, > > msvc) > > ECL build system does

Re: [Ecls-list] Build system on Cygwin

2012-08-17 Thread Jean-Pierre Flori
2012/8/15 Juan Jose Garcia-Ripoll : > On Tue, Aug 7, 2012 at 7:22 PM, Jean-Pierre Flori wrote: >> >> Still working on building Sage on Cygwin, we realized that the >> produced ECL shared library built on Cygwin is called ecl.dll. >> While this should not be problematic, we also have another file c

Re: [Ecls-list] [creelman.da...@gmail.com: ECL serving http via hunchentoot, how do I get it to stay up?]

2012-08-17 Thread Matthew Mondor
On Fri, 17 Aug 2012 07:54:14 +1000 David Creelman wrote: > I've setup a tiny server with ECL and I've quicklisp'ed the hunchentoot > package and it works well when I start it from the REPL. > However, If I try and run ECL as a background task which in turn is setting up > my hunchentoot instance,

Re: [Ecls-list] [creelman.da...@gmail.com: ECL serving http via hunchentoot, how do I get it to stay up?]

2012-08-17 Thread Pascal J. Bourguignon
David Creelman writes: > Hi All, > I've setup a tiny server with ECL and I've quicklisp'ed the hunchentoot > package and it works well when I start it from the REPL. > However, If I try and run ECL as a background task which in turn is setting up > my hunchentoot instance, ECL will stop after a v

[Ecls-list] [creelman.da...@gmail.com: ECL serving http via hunchentoot, how do I get it to stay up?]

2012-08-17 Thread David Creelman
Hi All, I've setup a tiny server with ECL and I've quicklisp'ed the hunchentoot package and it works well when I start it from the REPL. However, If I try and run ECL as a background task which in turn is setting up my hunchentoot instance, ECL will stop after a variable amount of time (usually 5-1