This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [cs branch] how to start compile server?
- From: Karel Gardas <kgardas at objectsecurity dot com>
- To: Per Bothner <per at bothner dot com>
- Cc: GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: Thu, 28 Aug 2003 09:14:01 +0200 (CEST)
- Subject: Re: [cs branch] how to start compile server?
On Wed, 27 Aug 2003, Per Bothner wrote:
> We haven't documented how to start the compile server, partly
> because we're trying figure out the right way to do it!
>
> This is how it currently works, for C. (C++ doesn't work yet.)
Ah, that's most important, since I would like to give it a try on MICO,
which is free C++ CORBA implementation. Do you have some time-frame when
C++ might works?
> Start and instance of cc1 directly, with command-line flags:
>
> path-to-cc1/cc1 -fserver -Dfoo -Ibar -fetc &
>
> This creates a Unix-domina socket ./.cc1-server.
>
> For each file you want to compile, run gcc in the
> normal way, with -server but without the other flags:
>
> gcc --server -c foo.c
>
> This creates foo.o
>
> When done, you can kill the server:
>
> gcc --kill-server
Sounds good.
Thanks for your information,
Karel
--
Karel Gardas kgardas@objectsecurity.com
ObjectSecurity Ltd. http://www.objectsecurity.com