diff --git a/pages.ko/common/distcc.md b/pages.ko/common/distcc.md new file mode 100644 index 0000000000..ed9ed983ee --- /dev/null +++ b/pages.ko/common/distcc.md @@ -0,0 +1,28 @@ +# distcc + +> `distccd`와 함께 사용하는 분산 C/C++/ObjC 컴파일 클라이언트입니다. +> 더 많은 정보: . + +- `gcc`와 같은 컴파일러로 소스 파일을 컴파일: + +`distcc {{컴파일러명}} -c {{소스/파일/경로.c}} -o {{출력/파일/경로.o}}` + +- 컴파일을 분산시킬 원격 호스트 설정: + +`export DISTCC_HOSTS="localhost {{호스트IP1 호스트IP2 ...}}"` + +- `distcc`를 사용해 `make`로 프로젝트를 병렬 컴파일: + +`make {{[-j|--jobs]}} {{병렬_작업_수}} CC="distcc {{컴파일러명}}"` + +- 현재 설정된 `distcc` 호스트 목록 확인: + +`distcc --show-hosts` + +- 도움말 출력: + +`distcc --help` + +- 버전 출력: + +`distcc --version` diff --git a/pages.zh/common/distcc.md b/pages.zh/common/distcc.md new file mode 100644 index 0000000000..c0a4fdea93 --- /dev/null +++ b/pages.zh/common/distcc.md @@ -0,0 +1,28 @@ +# distcc + +> 与 `distccd` 搭配使用的分布式 C/C++/ObjC 编译客户端. +> 更多信息:. + +- 使用类似 `gcc` 的编译器编译源文件: + +`distcc {{gcc}} -c {{路径/到/源文件.c}} -o {{路径/到/输出文件.o}}` + +- 设置用于分布式编译的远程主机: + +`export DISTCC_HOSTS="localhost {{主机IP1 主机IP2 ...}}"` + +- 使用 `distcc` 和 `make` 并行编译项目: + +`make {{[-j|--jobs]}} {{并行任务数}} CC="distcc {{gcc}}"` + +- 显示当前配置的 `distcc` 主机列表: + +`distcc --show-hosts` + +- 显示帮助: + +`distcc --help` + +- 显示版本: + +`distcc --version` diff --git a/pages/common/distcc.md b/pages/common/distcc.md new file mode 100644 index 0000000000..230fcd4147 --- /dev/null +++ b/pages/common/distcc.md @@ -0,0 +1,28 @@ +# distcc + +> Distributed C/C++/ObjC compilation client that works with `distccd`. +> More information: . + +- Compile a source file using a compiler like `gcc`: + +`distcc {{gcc}} -c {{path/to/source.c}} -o {{path/to/output.o}}` + +- Set remote hosts to distribute compilation: + +`export DISTCC_HOSTS="localhost {{ip1 ip2 ...}}"` + +- Compile a project with `make` using `distcc`: + +`make {{[-j|--jobs]}} {{parallel_jobs}} CC="distcc {{gcc}}"` + +- Show the list of current `distcc` hosts: + +`distcc --show-hosts` + +- Display help: + +`distcc --help` + +- Display version: + +`distcc --version`