|
From: | Alvaro Tejero Cantero |
Subject: | Re: [Texmacs-dev] TeXmacs/S7 |
Date: | Mon, 18 Jan 2021 21:23:53 +0100 |
I'm not sure, but on the webpage of s7 the standard compiling flags are_______________________________________________gcc -c s7.c -O2 -I. -Wl,-export-dynamic -lm -ldlyou might try to add -Wl,-export-dynamic . On Mac I had to remove it.MaxOn 18. Jan 2021, at 15:37, Alvaro Tejero Cantero <alvaro@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 2I 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.gubinelli@gmail.com> wrote:I'm not sure s7 is correctly configured in all the platforms. Maybe you can try to add_______________________________________________#define MS_WINDOWS 1to mus-config.hfor example.Give a loot at the comments at the beginning of s7.c. It could give some hints on how to properly configure it.maxOn 17. Jan 2021, at 07:58, Marco Atzeri <marco.atzeri@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
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
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
Texmacs-dev mailing list
Texmacs-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/texmacs-dev
[Prev in Thread] | Current Thread | [Next in Thread] |