[cfe-dev] What's the supported language for clang driver?
罗勇刚(Yonggang Luo)
luoyonggang at gmail.com
Fri Oct 18 11:30:21 PDT 2013
to be exact, I want to do this but failed:
H:\CI\bld\compilers\musl\src\math\x86_64>clang sqrt.s /Xassembler -filetype=obj
-triple i686-pc-win32
clang.exe: error: unknown argument: '-filetype=obj'
clang.exe: error: unknown argument: '-triple'
clang.exe: error: no such file or directory: '/Xassembler'
clang.exe: error: no such file or directory: 'i686-pc-win32'
2013/10/19 罗勇刚(Yonggang Luo) <luoyonggang at gmail.com>:
> def x : JoinedOrSeparate<["-"], "x">, Flags<[DriverOption,CC1Option]>,
> HelpText<"Treat subsequent input files as having type <language>">,
> MetaVarName<"<language>">;
>
>
> Is there a list for this.
>
> I want to compile a gas style x86 assembly file to COFF object file by
> the driver clang, how to do that.
>
> --
> 此致
> 礼
> 罗勇刚
> Yours
> sincerely,
> Yonggang Luo
--
此致
礼
罗勇刚
Yours
sincerely,
Yonggang Luo
More information about the cfe-dev
mailing list