[cs branch] how to start compile server?
Karel Gardas
kgardas@objectsecurity.com
Thu Aug 28 11:54:00 GMT 2003
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
More information about the Gcc
mailing list