ChanServ changed the topic of #picolisp to: PicoLisp language | Channel Log: https://irclog.whitequark.org/picolisp/ | Check also http://www.picolisp.com for more information
ubLIX has quit [Quit: ubLIX]
libertas has quit [Ping timeout: 246 seconds]
orivej has joined #picolisp
rob_w has joined #picolisp
<tankf33der> o/
<Regenaxer> Servus tankf33der ☺
<tankf33der> Regenaxer: cant compile pil21, cant find ffi.h
<Regenaxer> Ah, ok, "apt install ffi-dev"
<tankf33der> so you have ffi.h in /usr/include ?
<Regenaxer> checking
<Regenaxer> on Debian in /usr/include/x86_64-linux-gnu/ffi.h
<Regenaxer> on Termux just ../usr/include
<tankf33der> hm
<Regenaxer> Which system?
<tankf33der> archlinux
<Regenaxer> On Termux I installed ffi, not ffi-dev
<Regenaxer> there is no ffi-dev on Termux it seems
<Regenaxer> ah, sorry, yes! Not ffi but libffi
<Regenaxer> or libffi-dev
<tankf33der> i show list of files from package libffi and they dont install them in /usr/include
<Regenaxer> hmm
<tankf33der> googling.
<tankf33der> i knew it
<tankf33der> indeed
<tankf33der> pkg-config!
<tankf33der> noone care anymore about paths!
<Regenaxer> oh
<Regenaxer> uses private include dir?
<tankf33der> yea
<tankf33der> pkg-config --cflags libffi
<tankf33der> run on your system(s)
<Regenaxer> I have no pkg-config
<Regenaxer> Debian or Termux
<tankf33der> even solaris 11 has it :)
<tankf33der> check how to link against any path over libsodium.
<Regenaxer> libsodium?
<tankf33der> yea
<Regenaxer> What is that?
<tankf33der> so know all works
<tankf33der> lib.bc: lib.c
<tankf33der> clang -c -O3 `pkg-config --cflags libffi` -emit-llvm lib.c
<Regenaxer> Then it goes to /usr/include ?
<tankf33der> no
<tankf33der> [mpech@lambda src]$ pkg-config --cflags libffi
<tankf33der> -I/usr/lib/libffi-3.2.1/include
<tankf33der> [mpech@lambda src]$
<Regenaxer> Can't ArcLinux package be fixed?
<tankf33der> it automatically inserts correct path
<Regenaxer> yes, but I would like to avoid Makefile mess again
<tankf33der> :)
<tankf33der> its like a feature
<Regenaxer> Understand
<tankf33der> author of libffi especially did all this
<tankf33der> libffi.pc file from libffi team.
<tankf33der> or from archlinux team.
<Regenaxer> So I install pkg-config on Termux and Debian
<Regenaxer> Let me try
<tankf33der> libffi.pc file from libffi team and it generates by makefile ecosystem.
<Regenaxer> Strage
<Regenaxer> ok, worked on Termux
<Regenaxer> Released pil21 again
<Regenaxer> with your Makefile
<tankf33der> so now i know what will cost me to build this
<tankf33der> libffi is big player
<tankf33der> afk.
<Regenaxer> What costs is it?
<tankf33der> it will cost: platform must have llvm and libffi
<Regenaxer> yeah
<Regenaxer> I think it is ok, everybody goes to llvm :(
<Regenaxer> big machinery
<tankf33der> your prev versions didnt work in llvm9
<tankf33der> btw.
<Regenaxer> Which llvm is it now?
<tankf33der> llvm9 latest
<Regenaxer> and what did not work?
<Regenaxer> I have now llvm/stable,now 8.0.1-4 aarch64
<tankf33der> i didnt want noisy you. will be easy to find if you want
<Regenaxer> So I have not tried 9
<Regenaxer> But *current* version works?
<Regenaxer> "your prev versions didnt"
<Regenaxer> You talk about Makefile?
<tankf33der> llvm 8-7-6 worked.
<tankf33der> maybe 3.8 failed
<tankf33der> and llvm 9
<tankf33der> this is not a problem in general
<Regenaxer> pil21 crashes?
<Regenaxer> or does not build?
<tankf33der> didnt compile
<Regenaxer> and current version of pil21 compiles?
<tankf33der> yea
<Regenaxer> interesting, not sure what I changed
<Regenaxer> it changes all the time
<Regenaxer> so it may break again
<tankf33der> you must implement function to load files and implement test.l ecosystem
<Regenaxer> Let's see. I learned more and more, probably I had a lot wrong
<Regenaxer> yeah
<Regenaxer> I/O is still missing
<tankf33der> afk.
<Regenaxer> ATM I make transient symbol read and print
<Regenaxer> ok, thanks a lot!
<tankf33der> im on vacation with laptop only. i dont have access to any system
<Regenaxer> :)
<Regenaxer> No hurry
<Regenaxer> Would be interesting to see if it also runs on 32-bit systems
<Regenaxer> (I have none atm)
<Regenaxer> Should dig out some old laptop and install
<Regenaxer> Anyway, enjoy your vacation first!
mtsd has joined #picolisp
<Regenaxer> Good morning mtsd!
<mtsd> Hello Regenaxer!
<Regenaxer> ☺/
<mtsd> Hey, I installed DeltaChat yesterday and tried pinging your address
<Regenaxer> ah
<Regenaxer> hmm, nothing here
<Regenaxer> ah, no, it is!
<mtsd> Oh, it arrived?
<Regenaxer> No notification though
<Regenaxer> yes, I must accept
<mtsd> Now, here we go :)
<Regenaxer> Works
<Regenaxer> :)
<Regenaxer> Perfect ;)
mtsd has quit [Ping timeout: 268 seconds]
mtsd has joined #picolisp
maxxcan has joined #picolisp
maxxcan has quit [Quit: maxxcan]
ubLIX has joined #picolisp
_whitelogger has joined #picolisp
beneroth has joined #picolisp
<beneroth> hi all
<Regenaxer> Hi beneroth
<beneroth> Hey Regenaxer :)
<Regenaxer> :)
orivej has quit [Ping timeout: 268 seconds]
orivej has joined #picolisp
mtsd has quit [Quit: Leaving]
<tankf33der> Regenaxer: mail sent
<tankf33der> afk
<Regenaxer> thanks!
<Regenaxer> It is int64_t, I know it needs types.h
<Regenaxer> but it worked without, so I omitted it :)
<tankf33der> fix it and i will try again
<tankf33der> lets how it works on llvm9
<Regenaxer> Yes, good. A little later
<tankf33der> i will do it myself.
<Regenaxer> good, just #include <types.h> in lib.c I think
<tankf33der> file unknown
<tankf33der> stdint
<tankf33der> stdint.h helped
<tankf33der> works in general, no crash
<Regenaxer> ah, stdint.h ok
<Regenaxer> it is sys/types.h iirc
<tankf33der> afk
<Regenaxer> Thanks!
<Regenaxer> yes, stdint.h is best
rob_w has quit [Quit: Leaving]
andyjpb has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
* beneroth drückt euch die Daumen
<beneroth> bbl
beneroth has quit [Quit: Leaving]
ubLX has joined #picolisp
ubLIX has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
freemint has joined #picolisp
freemint has quit [Ping timeout: 245 seconds]
freemint has joined #picolisp
cil_z has joined #picolisp
andyjpb has quit [Ping timeout: 245 seconds]
freemint has quit [Ping timeout: 264 seconds]
beneroth has joined #picolisp
<Regenaxer> beneroth: Danke, but Daumen für what?
freemint has joined #picolisp
freemint has quit [Ping timeout: 245 seconds]
freemint has joined #picolisp
<beneroth> Regenaxer, you're llvm-ding-work
<beneroth> *your
<beneroth> ^^
freemint has quit [Ping timeout: 245 seconds]
cil_z has quit [Ping timeout: 246 seconds]
freemint has joined #picolisp
beneroth has quit [Quit: Leaving]
jcowan has joined #picolisp
<jcowan> Well, yet another place for the usual gang of Lispers, I see
<jcowan> Picolisp looks very nice to me given its goals
<jcowan> It seems to me though that it would be easy to do vectors by simply allocating a consecutive block of list cells from the C heap (as opposed to the free list). Of course, if you change the cdr of one of those cells and do a vector-ref or vector-set, you deserve to lose.
ubLX has quit [Ping timeout: 240 seconds]
karswell has joined #picolisp