[cfe-dev] RFC: Upcoming Build System Changes

Óscar Fuentes ofv at wanadoo.es
Fri Oct 28 12:13:45 PDT 2011


Anton Korobeynikov <anton at korobeynikov.info> writes:

>> The main difference is that you use a configuration file instead of
>> passing arguments on the command line. Please note that the
>> configuration file is for a toolset, not for a project (i.e. you don't
>> need to create one every time you want to cross-compile a new project
>> from Debian to Windows with MinGW.)
> Well, ok. How hard it will be to create something necessary for llvm?
> E.g. when part of tools / libs should be built for build platform and
> everything else - for host?

I implemented that long time ago. When cross-compiling, the build
generates a native tblgen. IIRC that was enough (I used to cross-compile
from Ubuntu to Windows/mingw.) If something else is necessary
(e.g. tools for running the test suite) adding them is not difficult.



More information about the cfe-dev mailing list