Wiki Roadmap Timeline Tickets New Ticket Source Search Help / Guide About Trac Login

root/gen/programs.h

Revision 1299:847b767b2d0b, 120 bytes (checked in by Frits van Bommel <fvbommel wxs.nl>, 3 years ago)

Factor out the code to find gcc, and add a command-line option to override the
default executable name.
This should help cross-compilation by allowing a cross-gcc to be specified from
the configuration file instead of only through the CC environment variable.

Line 
1 #ifndef LDC_GEN_PROGRAMS_H
2 #define LDC_GEN_PROGRAMS_H
3
4 #include "llvm/System/Path.h"
5
6 llvm::sys::Path getGcc();
7
8 #endif
Note: See TracBrowser for help on using the browser.
Copyright © 2008, LDC Development Team.