[cfe-dev] -cc1 and -m64 incompatible?
Zhanyong Wan (λx.x x)
wan at google.com
Tue Jan 19 15:29:53 PST 2010
Hi,
This command works:
$ clang -cc1 t.cc
So does this:
$ clang -m64 t.cc
However, it doesn't work when both -cc1 and -m64 are specified:
$ clang -cc1 -m64 t.cc
error: unknown argument: '-m64'
$ clang -m64 -cc1 t.cc
gcc: unrecognized option '-cc1'
gcc: unrecognized option '-cc1'
Is this expected? How do I run the front-end in 64-bit mode?
Also, neither -cc1 nor -m64 is mentioned in 'clang --help' or
http://clang.llvm.org/docs/UsersManual.html. Is there a definitive
guide on clang's command line flags? Many thanks,
--
Zhanyong
More information about the cfe-dev
mailing list