How to use ddd with XWindows?
Alexander Gottwald
alexander.gottwald@s1999.tu-chemnitz.de
Tue Jul 13 15:55:00 GMT 2004
On Tue, 13 Jul 2004, Siegfried Heintze wrote:
> I apologize if I had already posted this question. However, I did not see my
> own posting and I assume it never made it to the mailing list.
>
> I see from the posting below that you are using startx. Hmmmm... I think
> that is the command I use on Linux. I tried it on Win2003 server running
> cygwin and there is no such command.
>
> I'm using the command XWin.exe & and I'm trying to run the ddd debugger.
> XWindows seems to start OK. I can run X utilities like the XClock.
>
> However, when I try to start "ddd main_assert.exe" I get the "Error: Can't
> open display:".
>
> Someone in the cygwin@cygwin.com mailing list suggested I need to set the
> display and then I was chastised for carrying on off topic.
>
> Can someone help me run ddd? Currently, ddd is my only motivation for
> running XWindows. I was told I needed to start the XWindows server before I
> could run ddd.
After you've started XWindows run "DISPLAY=:0.0 ddd main_assert.exe"
The DISPLAY environment variable is important you can set it with
export DISPLAY=:0.0 in bash or setenv DISPLAY :0.0 in tcsh.
bye
ago
--
Alexander.Gottwald@s1999.tu-chemnitz.de
http://www.gotti.org ICQ: 126018723
More information about the Cygwin-xfree
mailing list