bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re:


From: Dr . Jürgen Sauermann
Subject: Re:
Date: Mon, 21 Jun 2021 13:25:23 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

Hi,

apl is NOT depending on libapl. libapl is essentially apl but with a different API as defined in libapl.h. But a number of object files differ and therefore you cannot
simply build libapl and link it with apl.


On 6/20/21 11:59 PM, enztec@gmx.com wrote:
Hi

Jürgen - thanks for fixing the previous problem so quickly - my code are all 
running pretty nice

--

now with the libapl - isn't the apl program dependent on the libapl (i think 
like curl is with libcurl - though could be wrong)

configure --with-libapl --without-gtk3 --without-sqlite3 --without-postgresql 
--without-pcre

--

// libapl_test.c

#include <stdio.h>
#include <stdlib.h>
#include <apl/libapl.h>
//#include "/usr/local/include/apl/libapl.h"

int main (int argc, char * argv[])
{
init_libapl(argv[0], ;

apl_exec("''");        -> strace-log1.txt
apl_exec("'a'");      -> strace-log2.txt

return 0;
}

--

gcc libapl_test.c -L /usr/local/lib/apl -lapl -o libapl_test -O2

--

libapl-test
Floating point exception

--

i have attached the strace logs
strace-log1.txt   from  ''
and strace-log2.txt from 'a'


as you can see '' is good bu 'a' crashes it
I'm not sure what is wrong with the system that this is crashing on as i have 
others with good libapl

Thank you







reply via email to

[Prev in Thread] Current Thread [Next in Thread]