Lines Matching refs:gcc

64 void tools::gcc::Common::ConstructJob(Compilation &C, const JobAction &JA,
76 // platforms using a generic gcc, even if we are just using gcc
110 // Try to force gcc to match the tool chain we want, if we recognize
142 // Only pass -x if gcc will understand it; otherwise hope gcc
151 // Don't try to pass LLVM or AST inputs to a generic gcc.
177 // Don't render as input, we need gcc to do the translations.
189 GCCName = "gcc";
195 void tools::gcc::Preprocessor::RenderExtraToolArgs(
200 void tools::gcc::Compiler::RenderExtraToolArgs(const JobAction &JA,
212 // We assume we've got an "integrated" assembler in that gcc will produce an
228 void tools::gcc::Linker::RenderExtraToolArgs(const JobAction &JA,
1716 /// Generic_GCC - A tool chain using the 'gcc' command to perform
1717 /// all subcommands; this relies on gcc translating the majority of
1812 // GCC_INSTALL_PREFIX specifies the gcc installation for the default
1861 // Then look for gcc installed alongside clang.
1864 // Next, look for prefix(es) that correspond to distribution-supplied gcc
1872 // Try to respect gcc-config on Gentoo. However, do that only
1873 // if --gcc-toolchain is not provided or equal to the Gentoo install
1879 // e.g. crossdev -S x86_64-gentoo-linux-gnu will install gcc libs for
1951 // /usr/gcc/<major>.<minor>/lib/gcc/<triple>/<major>.<minor>.<patch>/
1952 // so we need to find those /usr/gcc/*/lib/gcc libdirs and go with
1953 // /usr/gcc/<version> as a prefix.
1955 std::string PrefixDir = SysRoot.str() + "/usr/gcc";
1968 std::string CandidateLibPath = CandidatePrefix + "/lib/gcc";
2075 // On 32-bit PowerPC systems running SUSE Linux, gcc is configured as a
2421 {"gcc/" + CandidateTriple.str(), "../..", true},
2423 // Debian puts cross-compilers in gcc-cross.
2424 {"gcc-cross/" + CandidateTriple.str(), "../..",
2427 // The Freescale PPC SDK has the gcc libraries in
2438 {CandidateTriple.str() + "/gcc/" + CandidateTriple.str(), "../../..",
2445 {"i386-linux-gnu/gcc/" + CandidateTriple.str(), "../../..",
2448 {"i386-gnu/gcc/" + CandidateTriple.str(), "../../..",
2508 D.getVFS().getBufferForFile(D.SysRoot + "/etc/env.d/gcc/config-" +
2520 D.getVFS().getBufferForFile(D.SysRoot + "/etc/env.d/gcc/" +
2527 // LDPATH="/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.x:/usr/lib/gcc/
2529 // MANPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.x/man"
2530 // INFOPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/4.9.x/info"
2531 // STDCXX_INCDIR="/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.x/include/g++-v4"
2547 // Test the path based on the version in /etc/env.d/gcc/config-{tuple}.
2548 std::string basePath = "/usr/lib/gcc/" + ActiveVersion.first.str() + "/"
2589 Preprocess.reset(new clang::driver::tools::gcc::Preprocessor(*this));
2593 Compile.reset(new tools::gcc::Compiler(*this));
2604 Tool *Generic_GCC::buildLinker() const { return new tools::gcc::Linker(*this); }