summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/target.c
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Allow -target= and --target options"Richard Barton2015-05-111-6/+0
| | | | | | | | | After mailing list discussion on 11-13 March we would prefer to stick to a single spelling of the long option. This reverts commit 30035fe1a7c759c89ee62eb46efce6b3790fcc08. llvm-svn: 237003
* Allow -target= and --target optionsRenato Golin2015-03-101-0/+6
| | | | | | | | | | | | | | | Using clang as a cross-compiler with the 'target' option could be confusing for those inexperienced in the realm of cross compiling. This patch would allow the use of all these four variants of the target option: -target <triple> --target <triple> -target=<triple> --target=<triple> Patch by Gabor Ballabas. llvm-svn: 231787
* Don't use the gcc driver for assembling.Rafael Espindola2013-11-231-6/+0
| | | | | | | | | Clang knows how to use the gnu assembler directly from doing so on linux and hurd. The existing support worked out of the box on cygwin and mingw and I was able to bootstrap clang with it in both systems (with pending patches for the new mingw abi, but that is independent of the assembler). llvm-svn: 195554
* Update two options to my proposed syntax for user-facing driver options:Chandler Carruth2013-06-201-1/+5
| | | | | | | | | | | | | | | | | | | -gcc-toolchain foo -> --gcc-toolchain=foo -target foo -> --target=foo I've added legacy aliases for the original spellings. I've updated the canonical tests to check both spellings, and switched all of the -gcc-toolchain usages elsewhere in the test suite to use the new one. I've updated some of the usages of -target to the new syntax, but will finish that in a separate entirely mechanical change once I'm sure this won't get rolled back for some reason (It touches a *huge* number of RUN lines in the test suite unsurprisingly). A nice result is that the three most common flags I end up using when doing cross compiles are all now consistent: --target=, --sysroot=, and --gcc-toolchain=. llvm-svn: 184408
* test/Driver/target.c: Relax expression for "gcc.exe" on win32.NAKAMURA Takumi2012-02-011-1/+1
| | | | llvm-svn: 149510
* Fix yet another issue introduced when renaming '-ccc-host-triple' toChandler Carruth2012-01-301-0/+11
'-target'. The original flag was part of a flag group that marked it as driver-only. The new flag didn't ever get equivalent treatment. This caused the '-target' flag to get passed down to any raw GCC invocation. Marking it as a driver option fixes this and PR11875. llvm-svn: 149244
OpenPOWER on IntegriCloud