Re: [Chicken-users] Compiling the numbers egg statically

2007-10-29 Thread Mark Voortman
I have updated the egg to allow static linking. If you want to build this yourself, consult the .setup script (numbers egg 1.802). It's not quite perfect yet, but this should work: csc myfile.scm -static-extensions -R numbers -X numbers Do you just want to generate a static executable, or

[Chicken-users] Compiling the numbers egg statically

2007-10-25 Thread Mark Voortman
Folks, How can I compile the numbers egg statically? I tried many things but none seems to work. Thanks, Mark ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] openssl problem

2007-07-12 Thread Mark Voortman
Thomas, the problem is, that closing the in and output ports of an SSL connection attempts to do a clean shutdown of the SSL connection. This may sometimes take a while because CHICKEN blocks the thread for I/O longer than necessary or because the other endpoint of the communications channel

Re: [Chicken-users] openssl problem

2007-07-12 Thread Mark Voortman
Does adding a Connection: close change anything? Nice idea, but it didn't help. Cheers, Mark ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users

[Chicken-users] openssl problem

2007-07-11 Thread Mark Voortman
Folks, I just ran into a problem with the openssl egg. If I run the code below and browse to https://localhost/ it shows the certificate and everything, but the page keeps loading. Only when I kill the server it actually shows the page. My guess is that close-input-port and close-output-port

Re: [Chicken-users] Linking bb statically

2007-06-12 Thread Mark Voortman
Thanks, it works like a charm. Replace -uses with -R. cheers, felix On 6/12/07, Mark Voortman [EMAIL PROTECTED] wrote: Hello folks, I finally managed to install fltk and the bb egg. Now I want to compile a simple program statically, but I can't get it to work. This is the program

Re: [Chicken-users] Linking bb statically

2007-06-12 Thread Mark Voortman
It might be that fltk someone redirects it into the void. I have no clue, actually. I thinks so too, and I might have to dig into the fltk internals. The funny thing is that it only happens when I use the -R bb option. If I run it as a batch file using the interpreter everything works fine.

[Chicken-users] Linking bb statically

2007-06-11 Thread Mark Voortman
Hello folks, I finally managed to install fltk and the bb egg. Now I want to compile a simple program statically, but I can't get it to work. This is the program: (bb:init) (define w (bb:make-widget 'window 200 100)) (bb:group w (lambda () (let ([lbl (bb:make-widget 'label 200 100)])

[Chicken-users] Large vector

2007-05-10 Thread Mark Voortman
Hi guys, I have an urgent need to create a vector with a capacity of over 100 million elements. However, I get an out of range exception when I call make-array since the numbers of elements is limited to 16777215. Where can I increase this limit? Thanks! Mark

Re: [Chicken-users] Large vector

2007-05-10 Thread Mark Voortman
Mark Voortman scripsit: I have an urgent need to create a vector with a capacity of over 100 million elements. However, I get an out of range exception when I call make-array since the numbers of elements is limited to 16777215. Where can I increase this limit? The simplest way

Re: [Chicken-users] Large vector

2007-05-10 Thread Mark Voortman
Hey Zbigniew, 1. Which is it, vector or array? If array, which kind (srfi-25, array-lib, etc.) I tried a srfi-25 array with one dimension. 2. Have you considered the GC implications? There should be no garbage collection. I just load it into memory once and that's it. 3. Do you need a

Re: [Chicken-users] Large vector

2007-05-10 Thread Mark Voortman
Thanks for the info! Mark, On May 10, 2007, at 2:19 PM, Mark Voortman wrote: Where did all the space go? Each scheme object has a header word which stores: 1) Various type tags and 2) the length of the object. So, the extra space went into type tags---there are 24 bits reserved

Re: [Chicken-users] map-file-to-memory and random access

2007-04-17 Thread Mark Voortman
On 4/16/07, Mark Voortman [EMAIL PROTECTED] wrote: I'm using map-file-to-memory to map a file in memory and then use move-memory! to read/write the contents. However, I was wondering if it is possible to random access the memory mapped file? For example, read/write only the bytes

Re: [Chicken-users] map-file-to-memory and random access

2007-04-17 Thread Mark Voortman
On 4/16/07, Mark Voortman [EMAIL PROTECTED] wrote: I'm using map-file-to-memory to map a file in memory and then use move-memory! to read/write the contents. However, I was wondering if it is possible to random access the memory mapped file? For example, read/write only the bytes

Re: [Chicken-users] map-file-to-memory and random access

2007-04-16 Thread Mark Voortman
I'm using map-file-to-memory to map a file in memory and then use move-memory! to read/write the contents. However, I was wondering if it is possible to random access the memory mapped file? For example, read/write only the bytes at position 5 to 10. If I use move-memory! it always starts

[Chicken-users] syntax-case and static executables

2007-04-04 Thread Mark Voortman
Hello, Is it possible to compile the syntax-case egg into a statically linked executable? If yes, how? If no, is there any chance this will be possible in the near future? Thanks, Mark ___ Chicken-users mailing list Chicken-users@nongnu.org