I ran gnat-gdb under strace and I can find nothing obvious. It appears to me that the X server shuts down _after_ the compilation completes.
For a while I suspected something to do with pseudo-ttys, because of a thread[1] on the gps-users mailing list. [1] http://lists.adacore.com/pipermail/gps-users/2004-December/000318.html I rebuilt gnat-gps with --without-ptys but the results are the same. On Debian, GPS has no problem using a pseudo-tty to communicate with the underlying compiler: stat64("/dev/ptypf", {st_mode=S_IFCHR|0666, st_rdev=makedev(2, 15), ...}) = 0 open("/dev/ptypf", O_RDWR|O_NONBLOCK) = 5 access("/dev/ttypf", R_OK|W_OK) = 0 fcntl64(5, F_SETFL, O_RDONLY|O_NONBLOCK) = 0 fcntl64(5, F_SETFL, O_RDONLY|O_NONBLOCK) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [RTMIN], 8) = 0 stat64("/home/lbrenta/bin/gnatmake", 0xbfffca34) = -1 ENOENT (No such file or directory) stat64("/usr/local/bin/gnatmake", 0xbfffca34) = -1 ENOENT (No such file or directory) stat64("/usr/bin/gnatmake", {st_mode=S_IFREG|0755, st_size=1067896, ...}) = 0 fork() = 7762 rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0 ... read(5, "gnatgcc -c -g -o /home/lbrenta/s"..., 4096) = 165 ... --- SIGCHLD (Child exited) @ 0 (0) --- ... read(5, "sdc.adb:28:06: (style) bad inden"..., 4096) = 418 ... read(5, 0xbfffc824, 4096) = -1 EIO (Input/output error) ... close(5) = 0 close(5) = -1 EBADF (Bad file descriptor) ioctl(5, TIOCGPGRP, [1]) = -1 EBADF (Bad file descriptor) kill(-1, SIGINT The file ends here. -- Ludovic Brenta. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]