2016-08-24 1 views
0

Android Studio의 build.gradle에서 ldFlags ('- c')가 의미하는 바는 무엇입니까? "그 소리 ++"과 같이 : 당신은 그 소리의 LLVM 컴파일러의 도움을 실행하면 https://github.com/googlesamples/android-ndk/blob/a498a7809cb7c9ec576b95e797edc4e64777ea00/MoreTeapots/nativeactivity/build.gradlebuild.gradle에서 ldFlags ('- c')의 의미는 무엇입니까?

+0

질문이 있으시면 알려 드릴 수 없습니다. 어떤 연구를 했어. 당신이 그것을 확장 제안, 일부 인터넷 검색을 시도하십시오. –

답변

0

는 :

예를 참조하십시오

clang++ -help, 당신은 가능한 매개 변수를 볼 수 있습니다 당신은 전달할 수 있습니다

OVERVIEW: clang LLVM compiler 

USAGE: clang++ [options] <inputs> 

OPTIONS: 
    -###     Print (but do not run) the commands to run 
for this compilation 
    --analyze    Run the static analyzer 
    -arcmt-migrate-emit-errors 
          Emit ARC errors even if the migrator can  fix them 
    -arcmt-migrate-report-output <value> 
          Output path for the plist report 
    --cuda-device-only  Do device-side CUDA compilation only 
    --cuda-host-only  Do host-side CUDA compilation only 
    --cuda-path=<value>  CUDA installation path 
    -cxx-isystem <directory> 
          Add directory to the C++ SYSTEM include   search path 
    -c      Only run preprocess, compile, and assemble steps 
    ... 
    ... 
    ... 

-c 플래그에 대한 설명은 다음과 같습니다. 전처리 실행, 컴파일 및 어셈블 단계 만 수행

관련 문제