gcc에서 -pipe가 무슨 옵션이죠??

kkb110의 이미지

gcc에서 -pipe가 무슨 옵션이죠??

메뉴얼에서 찾아보니 이렇게 나와있긴한데..

-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.

정확히 어떻게 된다는것인지 잘 모르겠습니다.. c나 asm에대한지식은 왠만큼 있는데.. 잘모르겠네요...

뭐가 달라지는거죠?

happyjun의 이미지

컴파일할 때 내부적으로 임시파일을 이용하는 것이 아닌 pipe로 처리하겠다는 옵션입니다. 결과물은 같습니다.

----------------------------------------
http://moim.at
http://mkhq.co.kr

kkb110의 이미지

아.. 그렇군요
그런데 많이들 쓰시는걸 보면 컴파일속도가 좀 빠른가보군요 ^^

감사합니다 ^^