This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: How to use ddd with XWindows?
- From: Alexander Gottwald <alexander dot gottwald at s1999 dot tu-chemnitz dot de>
- To: cygwin-xfree at cygwin dot com
- Date: Tue, 13 Jul 2004 17:50:05 +0200 (MEST)
- Subject: Re: How to use ddd with XWindows?
- References: <200407130944250.SM01156@fasolt>
- Reply-to: cygwin-xfree at cygwin dot com
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