static executable, can't open $DISPLAY

2002-03-14 Thread Ian Britten
Hi all, I've got a bit of a wierd problem here, and am wondering if anyone has seen it before. I don't think its directly a GTK problem per se, but maybe someone here has seen this before... (Note - Let me be explicitely clear ahead of time - My $DISPLAY is correctly set) I'm working on Linux

Re: static executable, can't open $DISPLAY

2002-03-14 Thread Havoc Pennington
Ian Britten [EMAIL PROTECTED] writes: [ If you can't/shouldn't link libc in statically, how to most people create static executables? If the problem is as you describe, then it would seem that the -static GCC option is useless/dangerous... ] Yes, it basically is useless/dangerous. The

Re: static executable, can't open $DISPLAY - RESOLVED

2002-03-14 Thread Ian Britten
On 14 Mar 2002 10:22:09 -0500 Havoc Pennington [EMAIL PROTECTED] wrote: Ian Britten [EMAIL PROTECTED] writes: I'm working on Linux (Mandrake 8.1, gcc 3.0.1, etc) with gtk 1.2.10 (Ximian) When I build a dynamic executable, everything works find, as expected. When I build a static