[cfe-dev] Linker selection

Jacob Carlborg doob at me.com
Fri Dec 14 05:03:24 PST 2012


On 2012-12-14 12:57, Chandler Carruth wrote:

> Note that my point was only that we shouldn't need a custom set of
> command line flags for mclinker, and we shouldn't need to switch command
> line flags when switching linkers while staying on the same target
> platform. Thus, we might consider simple solutions that only address the
> problem of switching the link binary used rather than a more complex
> solution which passes flags in a new dialect.

Each linker could have a compatibility layer which translates the 
command line flags. This compatibility layer could just be a shell 
script (or similar) supplied by the linker, Clang or third party.

-- 
/Jacob Carlborg




More information about the cfe-dev mailing list