« Return to Thread: console mode gnuplot for windows with wxt doen not work (gnuplot 4.3 / mingw)

console mode gnuplot for windows with wxt doen not work (gnuplot 4.3 / mingw)

by Tatsuro MATSUOKA-5 :: Rate this Message:

| View in Thread

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/

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
gnuplot-beta mailing list
gnuplot-beta@...
https://lists.sourceforge.net/lists/listinfo/gnuplot-beta

 « Return to Thread: console mode gnuplot for windows with wxt doen not work (gnuplot 4.3 / mingw)