clang에 gcc 설치가 표시되지 않습니다.

clang에 gcc 설치가 표시되지 않습니다.

나는 다음과 같은 시스템을 가지고 있습니다.

uname -a
FreeBSD gpskomsa 10.2-RELEASE FreeBSD 10.2-RELEASE #0: Thu Aug 20 18:25:34 VLAT 2015     root@gpskomsa:/usr/obj/usr/src/sys/GENERIC  amd64

기본 clang 사용:

clang -v
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
Target: x86_64-unknown-freebsd10.2
Thread model: posix
Selected GCC installation:

또한 나는 gcc를 설치했습니다:

gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc48/gcc/x86_64-portbld-freebsd10.1/4.8.4/lto-wrapper
Target: x86_64-portbld-freebsd10.1
Configured with: ./../gcc-4.8.4/configure --disable-bootstrap --disable-nls --enable-gnu-indirect-function --libdir=/usr/local/lib/gcc48 --libexecdir=/usr/local/libexec/gcc48 --program-suffix=48 --with-as=/usr/local/bin/as --with-gmp=/usr/local --with-gxx-include-dir=/usr/local/lib/gcc48/include/c++/ --with-ld=/usr/local/bin/ld --with-pkgversion='FreeBSD Ports Collection' --with-system-zlib --with-ecj-jar=/usr/local/share/java/ecj-4.5.jar --enable-languages=c,c++,objc,fortran,java --prefix=/usr/local --localstatedir=/var --mandir=/usr/local/man --infodir=/usr/local/info/gcc48 --build=x86_64-portbld-freebsd10.1
Thread model: posix
gcc version 4.8.4 (FreeBSD Ports Collection)

보시다시피, clang은 gcc(blank Selected GCC Installation:)를 볼 수 없습니다.

makefile을 수정하여 포트에서 대체 clang 3.4.2를 빌드하고 설치하려고 했습니다.

CONFIGURE_ARGS+=    --enable-optimized --enable-shared --with-gcc-toolchain=/usr/local/lib/gcc48

하지만 clang3.4.2에서는 gcc가 다시 표시되지 않습니다.

/usr/local/llvm34/bin/clang -v
clang version 3.4.2 (tags/RELEASE_34/dot2-final)
Target: x86_64-portbld-freebsd10.2
Thread model: posix
Selected GCC installation:

gcc 설치를 확인하려면 clang을 어떻게 구성해야 합니까?

관련 정보