00:01:41 -!- milanj [n=milan@93.87.166.187] has quit ["Leaving"] 00:04:35 palter [n=palter@c-24-128-76-188.hsd1.ma.comcast.net] has joined #ccl 00:17:41 H4ns1 [n=hans@p57A0D657.dip.t-dialin.net] has joined #ccl 00:18:09 -!- H4ns1 [n=hans@p57A0D657.dip.t-dialin.net] has left #ccl 00:23:34 Adlai: how fast is your internet connection. 00:23:42 It can take a while to get the image 00:25:46 billstclair: I guess it's not fast enough. 00:27:31 Mine prints ccl/lx86cl, and then pauses for a while. 00:27:40 I'm using most of my bandwidth on a video 00:28:24 There goes lx86cl.image 00:28:41 I'm probably getting about 80 kbytes/sec 00:33:45 hmm, it's exited with some sort of error now. 00:33:45 -!- H4ns [n=hans@p57A0D5F5.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 00:36:18 Bummer 00:36:22 Mine finished 00:39:50 where is the code that actually dumps the heap image? 00:59:59 Not sure what you mean. 01:00:02 adlai 01:00:21 Adlai 01:01:01 billstclair: I've been trying to guage what it would take to add an option to ccl:save-application similar to sbcl's :save-runtime-options 01:01:40 I'm not very familiar with that code. All i can advise is to meta-. save-application 01:01:54 oh, I've done that already 01:02:09 Though it's actually the startup code that you want to change, with some state saved by save-application 01:02:11 it seems as though the actual image dumping happens in ccl::%%save-application 01:02:37 Adlai: the actual memory image is written in the lisp kernel. There's a trailer structure that's written to the image file. That trailer structure would need to change. 01:03:06 Really, rme? I'd think you just need to set a variable, and check it in the startup code 01:03:29 mdc_mobile [n=mdc_mobi@ds9.entity.com] has joined #ccl 01:03:30 Ideally, it would be general enough to support some sort of "fat binary" thing for lisp images, as well as options for heap image size, etc. 01:03:33 billstclair: this change needs to be detected very early on, though. 01:03:59 heap reserve, I mean, not heap image size 01:04:01 Ah. It's stuff that the kernel initializes before loading the image 01:04:15 right 01:04:25 Then you've got to write some C code 01:04:46 what SBCL does is they stick a few words at the end of the dumped image 01:05:12 Welcome to the lisp-kernel directory 01:05:22 I haven't hacked there in many years 01:05:24 yep, I've been looking around there already 01:06:23 When we load an image, we seek to the end of the file, read in this little trailer structure, and use that to find the start of the saved image. 01:06:44 I think I have a general idea of how to adapt the startup code (the main() function in ccl:lisp-kernel;pmcl-kernel.c) to check for saved options. Where is the code that writes the trailer? 01:07:15 ccl:lisp-kernel;image.c ? hang on... 01:07:24 *Adlai* looks too 01:07:52 yeah, save_application() 01:08:29 sleepy time for me 01:08:36 billstclair: goodnight 01:09:00 rme: how does that get called from ccl:save-application? I got lost somewhere there. 01:09:44 Via a trap in %%save-application. 01:10:53 is that (uuo-gc-trap)? 01:11:40 Yes. That causes an exception, the lisp kernel figures out what it is, and eventually you end up in handle_gc_trap() in x86-exceptions.c. 01:11:43 I'm wondering how ccl:save-application can tell save_application() that it needs to include runtime options too 01:16:17 Perhaps another bit in the flag word that we pass in imm0? 01:17:04 I'm hoping gbyers will get a chance to look at your ticket; I'd like to hear what he thinks. I'll ask him tomorrow. 01:18:38 oh, that flag in imm0 only has two bits used right now 01:20:07 thank you for taking interest in this issue, rme. 01:20:37 (and showing me around the source a bit just now) 01:21:24 It's a good request; your situation (writing a unix-style command-line tool with ccl) seems like something that should be supported. 01:29:57 billstclai [n=billstcl@dsl-216-227-57-77.taconic.net] has joined #ccl 01:38:39 Adlai` [n=adlai@unaffiliated/adlai] has joined #ccl 01:39:09 -!- Adlai [n=adlai@unaffiliated/adlai] has quit [Nick collision from services.] 01:39:12 -!- Adlai` is now known as Adlai 01:47:26 -!- billstclair [n=billstcl@unaffiliated/billstclair] has quit [Read error: 113 (No route to host)] 02:04:34 palter_ [n=palter@c-24-128-76-188.hsd1.ma.comcast.net] has joined #ccl 02:04:34 -!- palter [n=palter@c-24-128-76-188.hsd1.ma.comcast.net] has quit [Read error: 104 (Connection reset by peer)] 02:04:37 -!- palter_ is now known as palter 03:32:14 bfulgham_ [n=brent@adsl-69-234-114-78.dsl.irvnca.pacbell.net] has joined #ccl 03:46:22 -!- palter [n=palter@c-24-128-76-188.hsd1.ma.comcast.net] has quit [] 06:10:41 -!- bfulgham_ [n=brent@adsl-69-234-114-78.dsl.irvnca.pacbell.net] has quit [] 06:30:55 Adlai` [n=adlai@unaffiliated/adlai] has joined #ccl 06:50:21 -!- Adlai [n=adlai@unaffiliated/adlai] has quit [Read error: 110 (Connection timed out)] 07:50:37 -!- rme [n=rme@pool-70-104-112-176.chi.dsl-w.verizon.net] has quit [] 08:40:06 -!- Modius [n=Modius@24.174.112.56] has quit [Read error: 104 (Connection reset by peer)] 08:40:27 Modius [n=Modius@24.174.112.56] has joined #ccl 09:08:16 -!- Adlai` [n=adlai@unaffiliated/adlai] has quit [Read error: 104 (Connection reset by peer)] 09:08:38 Adlai` [n=adlai@unaffiliated/adlai] has joined #ccl 11:51:43 -!- alms [n=alms@146-115-42-237.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has quit [] 12:10:07 -!- billstclai [n=billstcl@dsl-216-227-57-77.taconic.net] has quit [] 12:11:16 billstclair [n=billstcl@unaffiliated/billstclair] has joined #ccl 12:52:50 -!- sellout [n=greg@c-24-128-50-176.hsd1.ma.comcast.net] has quit [] 12:54:57 -!- Summermute [n=scott@68.34.67.216] has quit [] 13:15:39 sellout [n=greg@static-72-85-235-154.bstnma.east.verizon.net] has joined #ccl 13:52:23 billstclai [n=billstcl@dsl-65-219-213-82.taconic.net] has joined #ccl 13:52:40 anRch [n=markmill@nmd.sbx07812.woburma.wayport.net] has joined #ccl 13:53:03 -!- billstclair [n=billstcl@unaffiliated/billstclair] has quit [Nick collision from services.] 13:53:22 -!- billstclai is now known as billstclair 13:59:47 alms [n=alms@static-72-85-235-154.bstnma.east.verizon.net] has joined #ccl 13:59:47 -!- Adlai` is now known as Adlai 14:46:41 -!- mdc_mobile [n=mdc_mobi@ds9.entity.com] has quit [] 14:48:50 jajcloz [n=jaj@72.85.235.154] has joined #ccl 14:57:29 -!- anRch [n=markmill@nmd.sbx07812.woburma.wayport.net] has quit [] 15:15:29 anRch [n=markmill@nmd.sbx07279.burlima.wayport.net] has joined #ccl 15:49:43 milanj [n=milan@93.86.114.25] has joined #ccl 15:57:15 rme [n=rme@pool-70-104-112-176.chi.dsl-w.verizon.net] has joined #ccl 16:16:14 -!- anRch [n=markmill@nmd.sbx07279.burlima.wayport.net] has quit [] 16:40:26 -!- rme [n=rme@pool-70-104-112-176.chi.dsl-w.verizon.net] has quit [] 16:45:29 mdc_mobile [n=mdc_mobi@quark.entity.com] has joined #ccl 16:49:43 rme [n=rme@pool-70-104-112-176.chi.dsl-w.verizon.net] has joined #ccl 17:29:48 anRch [n=markmill@nmd.sbx09984.woburma.wayport.net] has joined #ccl 17:38:21 phf [n=user@host.icnfull.com] has joined #ccl 17:38:57 hello, is there pre-built ffigen for win32 somewhere? 17:42:03 I don't think there is; you would need to build it from source. 17:42:08 http://trac.clozure.com/openmcl/wiki/BuildFFIGEN 17:43:48 ok, thanks 17:45:11 -!- Modius [n=Modius@24.174.112.56] has quit [Read error: 60 (Operation timed out)] 18:35:21 -!- anRch [n=markmill@nmd.sbx09984.woburma.wayport.net] has quit [] 19:00:20 rme_ [n=rme@pool-70-105-85-54.chi.dsl-w.verizon.net] has joined #ccl 19:08:45 -!- rme [n=rme@pool-70-104-112-176.chi.dsl-w.verizon.net] has quit [Read error: 110 (Connection timed out)] 19:08:45 -!- rme_ is now known as rme 19:32:18 -!- sellout [n=greg@static-72-85-235-154.bstnma.east.verizon.net] has quit [] 20:13:25 -!- mdc_mobile [n=mdc_mobi@quark.entity.com] has quit [] 20:25:29 -!- alms [n=alms@static-72-85-235-154.bstnma.east.verizon.net] has quit [] 20:55:27 palter [n=palter@static-72-85-235-154.bstnma.east.verizon.net] has joined #ccl 21:02:39 -!- phf [n=user@host.icnfull.com] has quit [Remote closed the connection] 21:02:58 anRch [n=markmill@c-71-192-202-95.hsd1.ma.comcast.net] has joined #ccl 21:35:01 -!- milanj [n=milan@93.86.114.25] has quit ["Leaving"] 21:36:31 -!- palter [n=palter@static-72-85-235-154.bstnma.east.verizon.net] has quit [] 21:55:44 H4ns [n=hans@p57A0D657.dip.t-dialin.net] has joined #ccl 22:04:42 -!- jajcloz [n=jaj@72.85.235.154] has quit [] 22:21:13 alms [n=alms@146-115-42-237.c3-0.bkl-ubr1.sbo-bkl.ma.cable.rcn.com] has joined #ccl 22:29:13 -!- anRch [n=markmill@c-71-192-202-95.hsd1.ma.comcast.net] has quit [] 22:55:00 Adlai` [n=adlai@unaffiliated/adlai] has joined #ccl 23:06:35 -!- Adlai` [n=adlai@unaffiliated/adlai] has quit [Remote closed the connection] 23:11:52 palter [n=palter@c-24-128-76-188.hsd1.ma.comcast.net] has joined #ccl 23:14:33 -!- Adlai [n=adlai@unaffiliated/adlai] has quit [Read error: 110 (Connection timed out)]