This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]