I tried Joy Yang's branch on Debian sid:


https://github.com/mgubi/texmacs/pull/5



It works on Debian!



The good news is that Joy Yang make it work on Windows.



It seems S7 is a better choice than Guile 3!





---- On Sun, 2021-08-22 21:27:26 Darcy Shen <sad...@zoho.com.cn> wrote ----



Here is my configure command line on Debian sid:



CXXFLAGS="-g" LIBS="-lm -ldl" ./configure --prefix=/home/sadhen/software



But I got a bus error:


Thread 1 "texmacs.bin" received signal SIGBUS, Bus error. 
0x00005555557e1994 in string::~string (this=0x7fffd054ee30, 
__in_chrg=<optimized out>) at Kernel/Types/string.hpp:47 
47      CONCRETE_CODE(string);
 





---- On Tue, 2021-01-19 15:21:25 Massimiliano Gubinelli 
<mailto:m.gubine...@gmail.com> wrote ----



I think you can put 



-Wl,-export-dynamic -lm -ldl







in LD_FLAGS or somewhere where there are already some -l flags, like in the 
GUILE_LDFLAGS, etc.. I do not remember exacly the name.




Max





On 18. Jan 2021, at 21:23, Alvaro Tejero Cantero <mailto:alv...@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 
<mailto:m.gubine...@gmail.com> wrote:

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 -ldl



you might try to add -Wl,-export-dynamic . On Mac I had to remove it.



Max





On 18. Jan 2021, at 15:37, Alvaro Tejero Cantero <mailto: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 
<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 <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
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

mailto:Texmacs-dev@gnu.org

https://lists.gnu.org/mailman/listinfo/texmacs-dev









_______________________________________________

Texmacs-dev mailing list

mailto:Texmacs-dev@gnu.org

https://lists.gnu.org/mailman/listinfo/texmacs-dev



_______________________________________________

Texmacs-dev mailing list

mailto:Texmacs-dev@gnu.org

https://lists.gnu.org/mailman/listinfo/texmacs-dev








_______________________________________________

Texmacs-dev mailing list

mailto:Texmacs-dev@gnu.org

https://lists.gnu.org/mailman/listinfo/texmacs-dev



_______________________________________________

Texmacs-dev mailing list

mailto:Texmacs-dev@gnu.org

https://lists.gnu.org/mailman/listinfo/texmacs-dev








_______________________________________________

Texmacs-dev mailing list

mailto: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

Reply via email to