|
From: | Darcy Shen |
Subject: | Re: [Texmacs-dev] TeXmacs/S7 |
Date: | Sun, 22 Aug 2021 21:27:26 +0800 |
User-agent: | ZohoCN Mail |
I think you can put-Wl,-export-dynamic -lm -ldlin LD_FLAGS or somewhere where there are already some -l flags, like in the GUILE_LDFLAGS, etc.. I do not remember exacly the name.MaxOn 18. Jan 2021, at 21:23, Alvaro Tejero Cantero <alvaro@minin.es> wrote:The standard flags compile it fine, but I don't know where to put them to get all of TeXmacs past S7 compilation. I looked in src/src/makefile but got lost finding where to add/remove compilation flags.Best,Álvaro.On Mon, 18 Jan 2021 at 15:42, Massimiliano Gubinelli <m.gubinelli@gmail.com> wrote:I'm not sure, but on the webpage of s7 the standard compiling flags aregcc -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).
MaxOn Cygwin64 bit, there is a S7 boot issue :Benchmark 1832040Time: 53Booting TeXmacs kernel functionalityThread 1 "texmacs" received signal SIGSEGV, Segmentation fault.0x0000000100fb8f13 in s7_init () at ./Scheme/S7/s7.c:9675296752 {(gdb) l96747 #if (!MS_WINDOWS)96748 static pthread_mutex_t init_lock = PTHREAD_MUTEX_INITIALIZER;96749 #endif9675096751 s7_scheme *s7_init(void)96752 {96753 int32_t i;96754 s7_scheme *sc;96755 static bool already_inited = false;96756I will need to look on this S7 code assumption for CygwinCompilation was fine :-(RegardsMarco_______________________________________________Texmacs-dev mailing list_______________________________________________Texmacs-dev mailing list_______________________________________________Texmacs-dev mailing list_______________________________________________Texmacs-dev mailing list_______________________________________________Texmacs-dev mailing list_______________________________________________Texmacs-dev mailing listTexmacs-dev@gnu.orghttps://lists.gnu.org/mailman/listinfo/texmacs-dev
[Prev in Thread] | Current Thread | [Next in Thread] |