Btw, the s7.c file is fully autonomous, so if you want just to try the interpreter without building all TeXmacs you can just do
gcc s7.c -o repl -DWITH_MAIN -I. -O2 -g -ldl -lm -Wl,-export-dynamic -Wno-stringop-overflow See https://ccrma.stanford.edu/software/snd/snd/s7.html Max > On 18. Jan 2021, at 15:37, Alvaro Tejero Cantero <alv...@minin.es> wrote: > > Thanks for the tip with the --enable-guile2 flag. After installing some QT5 > dependencies I was able to launch make. It failed with > (...) > /usr/bin/ld: Objects/s7.o: undefined reference to symbol > 'dlclose@@GLIBC_2.2.5' > /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO > missing from command line > collect2: error: ld returned 1 exit status > make[1]: *** [makefile:444: Objects/texmacs-shared.bin] Error 1 > make[1]: Leaving directory '/home/alvar/Xode/mgubi/src/src' > make: *** [Makefile:58: TEXMACS] Error 2 > > I searched for a while but I was not able to pinpoint where what compiler > flag is missing (or if it is anything else). I have libc6-dev installed. > > Regards, > > Álvaro. > > > On Mon, 18 Jan 2021 at 11:05, Massimiliano Gubinelli <m.gubine...@gmail.com > <mailto:m.gubine...@gmail.com>> wrote: > I'm not sure s7 is correctly configured in all the platforms. Maybe you can > try to add > > #define MS_WINDOWS 1 > > to mus-config.h > > for example. > Give a loot at the comments at the beginning of s7.c. It could give some > hints on how to properly configure it. > > max > > > >> On 17. Jan 2021, at 07:58, Marco Atzeri <marco.atz...@gmail.com >> <mailto:marco.atz...@gmail.com>> wrote: >> >> On 08.01.2021 22:58, Massimiliano Gubinelli wrote: >>> Dear all, >>> an *unofficial* port of TeXmacs to S7 is essentially complete. I do not >>> have any particular bug on my list. If you feel adventurous you can try it >>> and report problems, this will help me to finalize it, you find it here: >>> https://github.com/mgubi/texmacs/tree/s7 >>> <https://github.com/mgubi/texmacs/tree/s7> >>> It is still a development version, use it to your own risk and do not >>> advertise it to regular users. >>> The plans is to wait for 2.1 and then evaluate what we are going to do wrt. >>> Scheme support. In the meantime these ports allow me to learn better how >>> the scheme code in TeXmacs works and hopefully to provide a stable base for >>> the next 20 years of TeXmacs :) (be it with Guile, S7 or whatever else we >>> decide to use). >>> Max >> >> On Cygwin64 bit, there is a S7 boot issue : >> >> Benchmark 1 >> 832040 >> Time: 53 >> Booting TeXmacs kernel functionality >> >> Thread 1 "texmacs" received signal SIGSEGV, Segmentation fault. >> 0x0000000100fb8f13 in s7_init () at ./Scheme/S7/s7.c:96752 >> 96752 { >> >> >> (gdb) l >> 96747 #if (!MS_WINDOWS) >> 96748 static pthread_mutex_t init_lock = PTHREAD_MUTEX_INITIALIZER; >> 96749 #endif >> 96750 >> 96751 s7_scheme *s7_init(void) >> 96752 { >> 96753 int32_t i; >> 96754 s7_scheme *sc; >> 96755 static bool already_inited = false; >> 96756 >> >> >> I will need to look on this S7 code assumption for Cygwin >> >> Compilation was fine :-( >> >> >> >> Regards >> Marco >> >> >> _______________________________________________ >> Texmacs-dev mailing list >> Texmacs-dev@gnu.org <mailto:Texmacs-dev@gnu.org> >> https://lists.gnu.org/mailman/listinfo/texmacs-dev >> <https://lists.gnu.org/mailman/listinfo/texmacs-dev> > > _______________________________________________ > Texmacs-dev mailing list > Texmacs-dev@gnu.org <mailto:Texmacs-dev@gnu.org> > https://lists.gnu.org/mailman/listinfo/texmacs-dev > <https://lists.gnu.org/mailman/listinfo/texmacs-dev> > _______________________________________________ > Texmacs-dev mailing list > Texmacs-dev@gnu.org > https://lists.gnu.org/mailman/listinfo/texmacs-dev
_______________________________________________ Texmacs-dev mailing list Texmacs-dev@gnu.org https://lists.gnu.org/mailman/listinfo/texmacs-dev