|
From: Tatsuro M. <tma...@ya...> - 2010-02-21 07:22:57
|
Hello
In response to the request from the Bastian Maerkisch, I have tried link with libreadline in building
gnuplot for windows. As expected it is only available for console mode of gnuplot, 'gnuplot.exe'. For
wgnuplot.exe, linking with libreadline has give a broken command window.
(I have not tested on wgnuplot_pipes.exe but it will give the same as that of wgnuplot.exe).
Can this feature added to ver. 4.4 release?
I guess that the feature of readline itself available from the earlier version of gnuplot on other
platform. In my idea, there is no problem that the console mode gnuplot (gnuplot.exe) for windows has
a readline feature.
Any comments?
If there is no objection I will upload the windows binaries with the readline feature for both 4.4-cvs
and 4.5 for on my web.
Regards
Tatsuro
===Tatsuro wrote
--- Bastian Maerkisch wrote
> Hello
>
> I understand that you use cygwin to compile gnuplot on windows. It would
> be great if you could include readline (or editline) in your build for
> "gnuplot.exe". This is now standard on Linux and is one of the things I
> am sorely missing on windows.
>
> Regards
> Bastian
I do not use cygwin to build gnuplot binaries native to windows. I am using msys + mingw + mingw gcc
to build them. I use cygwin when I build cygwin version of gnuplot.
For building of gnuplot on the above platform, ./configure-make procedure is not used but it uses
customized makefile (makefile.mgw) and config.h (config.mgw is override to config.h in make process.).
In makefile.mgw, there is no description of the readline feature. I have a windows version
libreadline libraries provides by GnuWin32 project. I will try it Perhaps I have to add
-DHAVE_LIBREADLINE to complier flag, add include and library path and add -lreadline in linker flag.
Of cource, I will try it only for gnuplot.exe and do not want to do for wgnuplot[_pipes].exe.
I do not know whether it will be successful or not. Please wait keeping your expectations low.
If you or someone gives me suggestions for the matter, it will be welcome.
===========================================================================================
Regards
Tatsuro
--------------------------------------
VANCOUVER 2010 Olympic News [Yahoo! Sports/sportsnavi]
http://pr.mail.yahoo.co.jp/olympic/
|