For the record, I've made some progress compiling GCL on Linux with Wine.
I am working w/ Version_2_6_9 now (before it was master). Now
./configure runs without patching, and make runs almost all the way to
the end. Apparent raw_pre_gcl.exe is created and then it craps out.
$ make
[...]
ar: creating libpre_gcl.a
cp ../o/gcllib.a libgclp.a
ranlib libgclp.a
cp init_pre_gcl.lsp.in init_pre_gcl.lsp.tmp
touch raw_pre_gcl_map
/usr/bin/i586-mingw32msvc-gcc ../o/firstfile.o -o raw_pre_gcl.exe
-L. -Wl,-Map raw_pre_gcl_map -lpre_gcl -lm -lmingwex -lwsock32
-lgclp ../o/lastfile.o
PATH=/usr/bin:$PATH gcc msys.c -o msys # Unix binary if running wine
cat init_pre_gcl.lsp.tmp | sed \
-e "s#@LI-VERS@#(`cat ../majvers`.`cat ../minvers`) `date`#1" \
-e "s#@LI-EXTVERS@#`cat ../minvers | cut -f2 -d.`#1" \
-e "s#@LI-MINVERS@#`cat ../minvers | cut -f1 -d.`#1" \
-e "s#@LI-MAJVERS@#`cat ../majvers`#1" \
-e "s#@LI-CC@#\"/usr/bin/i586-mingw32msvc-gcc -c -Wall
-DVOL=volatile -fsigned-char -pipe -fno-zero-initialized-in-bss
-mms-bitfields -march=i386 \"#1" \
-e "s#@LI-LD@#\"/usr/bin/i586-mingw32msvc-gcc
../o/firstfile.o -o \"#1" \
-e "s#@LI-LD-LIBS@#\" -lpre_gcl -lm -lmingwex -lwsock32
-lgclp ../o/lastfile.o\"#1" \
-e "s#@LI-OPT-THREE@#\"-O3 \"#1" \
-e "s#@LI-OPT-TWO@#\"-O\"#1" \
-e "s#@LI-INIT-LSP@#\"init_pre_gcl.lsp\"#1" >init_pre_gcl.lsp
cp init_pre_gcl.lsp foo
echo " (in-package \"USER\")(system:save-system \"saved_pre_gcl\")" >>foo
ar x libpre_gcl.a $(ar t libpre_gcl.a |grep ^gcl_)
/home/robert/tmp/gcl-git/gcl/gcl/unixport/raw_pre_gcl.exe
/home/robert/tmp/gcl-git/gcl/gcl/unixport/ -libdir
/home/robert/tmp/gcl-git/gcl/gcl/ < foo
GCL (GNU Common Lisp) April 1994 131071 pages
Can't recognize '/home/robert/tmp/gcl-git/gcl/gcl/unixport/msys /tmp/
out8 tmp8 log8' as an internal or external command, or batch script.
The assertion !system(b) on line 113 of unixsys.c in function
detect_wine failedmake[1]: *** [saved_pre_gcl] Error 255
make[1]: Leaving directory `/home/robert/tmp/gcl-git/gcl/gcl/unixport'
make: *** [unixport/saved_pre_gcl] Error 2
/home/robert/tmp/gcl-git/gcl/gcl/unixport/msys does indeed exist and
if I enter that command line to bash, it apparently runs (and returns
immediately with exit code = 0).
Advice?
Thanks for your help,
Robert Dodier
_______________________________________________
Gcl-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gcl-devel