Re: [Bug-apl] A Make target just for libapl

2018-06-13 Thread Juergen Sauermann
Hi Peter, no, the make all target builds libapl if ./configure'd to do so: 1.   ./configure --with-libapl 2.   make all 3.   sudo make install Step 3. is kind of optional: in copies the libraries to the

Re: [Bug-apl] libapl load problem....UPDATE 2

2018-06-13 Thread Peter Teeson
Hi Dirk: Please tell me what OS you were using? thanks…. Peter > On May 20, 2018, at 4:59 PM, Dirk Laurie wrote: > I did this three years ago, using SVN 570 of GNU APL. In an ideal > world, I would have checked after every SVN update that my application > still works. In the real world, I

Re: [Bug-apl] libapl load problem....UPDATE 2

2018-06-13 Thread Juergen Sauermann
Hi Peter, a simple C program, say libapl_test.c  would be this: #include "libapl.h" int main(int argc, char * argv[]) {    init_libapl(argv[0], 0);    return apl_exec("⎕←2 3⍴⍳6"); }

Re: [Bug-apl] libapl load problem....UPDATE 2

2018-06-13 Thread Xiao-Yong Jin
You need a dylib to link against at compile time. Passing `-dynamiclib` to the compiler should to the trick to generate a dylib. We need something like: g++ -dynamiclib -o libapl.dylib all_the_o_files.o ... A bundle is what a so file is, which in general is generated by the compiler when