Win32 only release update newLISP v.10.1.2

Started by Lutz, August 03, 2009, 12:26:59 PM

Previous topic - Next topic

Lutz

This is an update for MS Windows only correcting a cut-off problem at 2048 characters when printing to standard out.



A release update 10.1.2 for Win32 only has been posted here:



http://www.newlisp.org/downloads/newlisp-10102-win-gs-132.exe">http://www.newlisp.org/downloads/newlis ... gs-132.exe">http://www.newlisp.org/downloads/newlisp-10102-win-gs-132.exe



An update is not required for Mac OS X or other UNIX users.

HPW

#1
Can you post the version number/download links with the used MinGW/Msys versions.

And a small info how to install/setup and use this updated toolchain to be able to compile newLISP.
Hans-Peter

HPW

#2
I try what I found here: http://www.alh.net/newlisp/phpbb/viewtopic.php?t=397">http://www.alh.net/newlisp/phpbb/viewtopic.php?t=397



I downloaded MinGW-5.1.4.exe and choose current.



I get:

C:Programmenewlispnewlisp-10.1.1>MinGWbinmingw32-make -f makefile_mingw
/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -g -DWIN_32 newlisp.c
/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -g -DWIN_32 nl-symbol.c
/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -g -DWIN_32 nl-math.c
/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -g -DWIN_32 nl-list.c
/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -g -DWIN_32 nl-liststr.c
/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -g -DWIN_32 nl-string.c
/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -g -DWIN_32 nl-filesys.c
/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -g -DWIN_32 nl-sock.c
/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -g -DWIN_32 nl-import.c
/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -g -DWIN_32 nl-xml.c
/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -g -DWIN_32 nl-web.c
/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -g -DWIN_32 nl-matrix.c
/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -g -DWIN_32 nl-debug.c
/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -g -DWIN_32 pcre.c
/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -g -DWIN_32 win32-util.c
/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -g -DWIN_32 win32-path.c
/MinGW/bin/gcc  newlisp.o nl-symbol.o nl-math.o nl-list.o nl-liststr.o nl-string
.o nl-filesys.o nl-sock.o nl-import.o nl-xml.o nl-web.o nl-matrix.o nl-debug.o p
cre.o win32-util.o win32-path.o -lws2_32 -o newlisp.exe
/MinGW/bin/strip newlisp.exe

C:Programmenewlispnewlisp-10.1.1>MinGWbinmingw32-make -f makefile_mingwdll

/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -DWIN_32 -DLIBRARY  newlisp.c
/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -DWIN_32 -DLIBRARY  nl-symbol.c
/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -DWIN_32 -DLIBRARY  nl-math.c
/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -DWIN_32 -DLIBRARY  nl-list.c
/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -DWIN_32 -DLIBRARY  nl-liststr.c
/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -DWIN_32 -DLIBRARY  nl-string.c
/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -DWIN_32 -DLIBRARY  nl-filesys.c
/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -DWIN_32 -DLIBRARY  nl-sock.c
/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -DWIN_32 -DLIBRARY  nl-import.c
/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -DWIN_32 -DLIBRARY  nl-xml.c
/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -DWIN_32 -DLIBRARY  nl-web.c
/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -DWIN_32 -DLIBRARY  nl-matrix.c
/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -DWIN_32 -DLIBRARY  nl-debug.c
/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -DWIN_32 -DLIBRARY  pcre.c
/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -DWIN_32 -DLIBRARY  win32-util.c
/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -DWIN_32 -DLIBRARY  win32-path.c
/MinGW/bin/gcc -Wall -pedantic -Wno-long-long -c -O1 -DWIN_32 -DLIBRARY  win32dll.c
/MinGW/bin/dllwrap *.o --def win32dll.def --enable-stdcall-fixup -o newlisp.dll
-lws2_32
Warning: resolving _dllEvalStr by linking to _dllEvalStr@4
Use --enable-stdcall-fixup to disable these warnings
Use --disable-stdcall-fixup to disable these fixups
Warning: resolving _dllName by linking to _dllName@4
Warning: resolving _newlispEvalStr by linking to _newlispEvalStr@4
Warning: resolving _WEP by linking to _WEP@4
Warning: resolving _dllEvalStr by linking to _dllEvalStr@4
Use --enable-stdcall-fixup to disable these warnings
Use --disable-stdcall-fixup to disable these fixups
Warning: resolving _dllName by linking to _dllName@4
Warning: resolving _newlispEvalStr by linking to _newlispEvalStr@4
Warning: resolving _WEP by linking to _WEP@4
/MinGW/bin/strip newlisp.dll

C:Programmenewlispnewlisp-10.1.1>


Is this correct?

The sizes differ from the 10.1.2 distribution:



EXE original 234 KB new compiled 236 KB

DLL original 254 KB new compiled 257 KB



MinGW 5.1.4 current seems to use GCC 3.4.5 !

Do I need to install GCC 4.4.0?
Hans-Peter

Lutz

#3
You need to install GCC 4.4.0 and in nl-filesys.c in function my_vasprintf() you have to change this line:



#if defined(WIN_32) || defined(TRU64)



to this line:



#if defined(TRU64)



if you use GCC 3.4.5, the old line can stay.

HPW

#4
You go for GCC 4.4.0 ?

So we will see this change in 10.1.2 (or higher) source disribution?



Edit: By the way 10.1.2 shows with (sys-info) still 10.1.1
Hans-Peter

Lutz

#5
There is a v.10.1.3 with other changes around the end of this week. I do not want to mess with v.10.1.1 anymore. We will also stay on the new GCC 4.4.0.