[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gcl-devel] running program compiled by GCL via Wine
From: |
Robert Dodier |
Subject: |
[Gcl-devel] running program compiled by GCL via Wine |
Date: |
Wed, 9 Oct 2013 11:07:33 -0700 |
Hi,
Just for fun I am trying to run maxima.exe as compiled by GCL for
Windows on Linux via Wine. I've installed maxima.exe using the
Windows installers which can be found on the project page.
(http://sf.net/p/maxima/files)
The installer runs without any problem via Wine.
I patched Wine as mentioned in a comment on this bug report.
http://bugs.winehq.org/show_bug.cgi?id=20986
When I try to run maxima.exe, I get this error message:
$ wine ./maxima.exe
Can't recognize
'C:/msys/1.0/local/src/gcl-2.6.8pre-2013-01-01/unixport/msys /tmp/
out8 tmp8 log8' as an internal or external
command, or batch script.
I see that this message originates in the function detect_wine
in o/unixsys.c, which tries to execute the program 'msys' defined in
unixport/msys.c. I don't understand the logic of detect_wine;
the only description I was found that seems to be relevant is here:
http://lists.gnu.org/archive/html/gcl-devel/2010-10/msg00002.html
(search for "gcl now builds under wine").
Is there a way to get detect_wine to avoid failing any assertions?
(From what I can tell, it doesn't matter whether *WINE-DETECTED*
is set correctly.) It seems like this would affect any program
compiled by GCL, not just maxima.exe.
The GCL versions involved are 2.6.9 and 2.6.8 as of 2013-01-01.
Thanks for any light you can shed on this.
best
Robert Dodier
- [Gcl-devel] running program compiled by GCL via Wine,
Robert Dodier <=