freenode/#clasp - IRC Chatlog
Search
9:56:38
attila_lendvai
hi! drmeister, saw your mail, sent a response. i'll be around here for the next 10 or so hours.
11:37:31
drmeister
You did some work on the waf build system and reached a deeper understanding of it than I have.
11:38:21
attila_lendvai
keep in mind though, that it was a long time ago, and clasp was my only only exposure to waf
11:39:21
drmeister
I implemented snapshot save/load - I use dlsym at load time to lookup addresses of functions/vtable pointers at load time. Everything works on linux.
11:40:13
drmeister
On macOS however, vtable symbols for template classes are hidden/local so I have to go through a complicated song and dance to export them.
11:41:00
attila_lendvai
(re hidden vtable symbols: that's surprising, although i have abandoned my c++ knowledge long ago)
11:42:54
drmeister
It's basically (1) build iclasp-boehmprecise and compile the common lisp code for cclasp (2) run iclasp-boehmprecise loading cclasp common lisp image with a special flag and build a symbol list and save it to a file (3) LINK an executable called "cclasp-boehmprecise" that uses the new symbol list. (4) new build stuff that saves snapshots and links new executables that have the snapshots embedded within them.
11:43:26
drmeister
I've been screwing with the waf build system for days to add step 3 and I have something working - but it's a bit broken.
11:43:52
drmeister
I haven't figured out how to fix it and the clock is ticking loudly that I have to work on other things.