This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[cs branch] how to start compile server?
- From: Karel Gardas <kgardas at objectsecurity dot com>
- To: GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: Wed, 27 Aug 2003 23:45:27 +0200 (CEST)
- Subject: [cs branch] how to start compile server?
Hello,
after one ugly hack, I've been able to compile todays sources of
compile-server branch on my debian 3.0 box. Now I would like to give it a
try, but some pieces of tecnology seems to be missing, i.e.
get_server_socket (const char *socket_name)
{
<snip>
fprintf (stderr, "created socket: %d path:%s max:%d\n", server_socket,
socket_name, (int) sizeof(server.sun_path));
sprintf (server.sun_path, "%.*s", (int) sizeof (server.sun_path)-1,
socket_name);
server_socket_name = xstrdup (socket_name);
if (connect (server_socket, (struct sockaddr *) &server, sizeof(struct sockaddr_un)) < 0)
{
#if 0
... try starting server ...;
#endif
close (server_socket);
perror ("connecting stream socket");
exit (1);
}
}
return server_socket;
}
and I exactly get:
thinkpad:/mnt/karel/cs-mico-test/orb$ c++ -I../include -server -Wall -DPIC -fPIC -c os-unix.cc -o os-unix.pic.o
created socket: 3 path:.cc1plus-server max:108
connecting stream socket: No such file or directory
Also I remmeber some discussion about this topic, but I'm not able to find
any information how to start the server.
Thanks,
Karel
--
Karel Gardas kgardas@objectsecurity.com
ObjectSecurity Ltd. http://www.objectsecurity.com