Re: How to initialize GNU guile in a C++ command line tool?

2023-02-09 Thread Maxime Devos
On 09-02-2023 11:43, Basile Starynkevitch wrote: /usr/bin/ld: /tmp/cc51HoPM.o: in function `do_evaluate_guile(char const*)': /home/basile/misc-basile/clever-framac.cc:501: undefined reference to `scm_init_eval' collect2: error: ld returned 1 exit status scm_init_eval is an internal thing:

How to initialize GNU guile in a C++ command line tool?

2023-02-09 Thread Basile Starynkevitch
Hello, My platform is Linux Debian sid x86-64 or Linux Ubuntu 22.10 x86-64. Using package guile-3.0-dev (version 3.0.8-2). I want to drive the Frama-C static analyzer with a C++ driving program which uses (optionally) Guile to run Frama-C. My current code (GPLv3+)