This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [incremental] Patch: FYI: disable server mode for stdin compiles
- From: Tom Tromey <tromey at redhat dot com>
- To: Paolo Bonzini <bonzini at gnu dot org>
- Cc: Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 31 Mar 2008 11:36:34 -0600
- Subject: Re: [incremental] Patch: FYI: disable server mode for stdin compiles
- References: <m3r6dq6fo0.fsf@fleche.redhat.com> <47F1257F.3090309@gnu.org>
- Reply-to: Tom Tromey <tromey at redhat dot com>
>>>>> "Paolo" == Paolo Bonzini <bonzini@gnu.org> writes:
>> The compile server doesn't work properly if input is from stdin.
>> While this is fixable, I think there isn't much point -- so in this
>> case we just disable the server connection.
Paolo> Does it work for any other FIFO?
I think it should work ok for named pipes, but not something like
/dev/fd/X. The issue is that the command line from the gcc invocation
is passed to the compile server for processing -- but most of gcc's
file descriptors are not passed.
Do people often run gcc this way?
Tom