Suggestion: Use -pipe by default

Niels Möller
Fri Oct 6 06:05:00 GMT 2000

The gcc manual says about -pipe:

     Use pipes rather than temporary files for communication between
     the various stages of compilation. This fails to work on some
     systems where the assembler is unable to read from a pipe; but
     the GNU assembler has no trouble.

Are there still many systems where -pipe doesn't work? I believe it
would be a good thing to use -pipe by default. I feel a little uneasy
about random use of files in /tmp, and in gcc's case it seems
unnecessary. Perhaps one can use some configure or runtime test to
detect the situations where -pipe is known not to work?


More information about the Gcc-bugs mailing list