|
From: Tatsuro M. <tma...@ya...> - 2009-09-20 21:29:27
|
Hello
I have posted a thread about a problem on console mode gnuplot for windows with wxt.
I am using GCC-4.4.0/Mingw.
The gnuplot.exe (ver 4.3 ) with does not start.
$ gnuplot
Tatsu@INSPIRON6000 /c/Program Files/Gnuplot4.3wxt
$
Without wxt
$ gnuplot
G N U P L O T
Version 4.3 patchlevel 0
last modified August 2009
System: MS-Windows 32 bit
:
:
However,
$ gnuplot -e "plot sin(x); pause 1"
and
$ echo 'plot sin(x) ; pause 1' | gnuplot
works even on gnuplot with wxt.
I have struggled with gdb and found that
(!isatty(fileno(stdin))) is false for the gnuplot without the wxt but true for one without wxt.
I also found taht stdin, stdout, and stderr does not work.
In short, gnuplot with wxt built on gcc/mingw does not have standard i/o.
Perhaps this may be a side effect with gnuplot linked with wxWedgets.
Michael Goffioul had built the console mode of gnuplot for windows with wxt by MSVC++.
This problem may be specific to the combination of GCC/mingw and wxt.
Does anyone have ideas on this issue ?
Regards
Tatsuro
Tatsuro
--------------------------------------
Thanks 10 years! Yahoo! Shopping and Yahoo! Auctions
http://pr.mail.yahoo.co.jp/ec10years/
|