[cfe-commits] [patch] Call as and ld on linux (ld off by default)

Rafael Espindola espindola at google.com
Sat Jul 17 20:25:39 PDT 2010

The attached patch adds support for calling as and ld directly on
linux. The ld support is disable by default as it suffers from the
existence of many linux distributions with different paths and
different dynamic linkers.

I tested a bootstrap on a Fedora 13 64 bits using both as and ld
directly. I think I can make the assembler support work everywhere,
but for the linker we will need some refactoring. Should I just remove
the linker bits for now?

My idea is to first make sure that the assembler works on more linux
distributions and then slowly start working on the universal driver
design. Eventually the config should include thing like the dynamic
linker and the directory containing the startup files and we should be
able to support running ld directly on linux.

Rafael Ávila de Espíndola
-------------- next part --------------
A non-text attachment was scrubbed...
Name: driver.patch
Type: text/x-patch
Size: 12341 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100717/4a7c1e2d/attachment.bin>

More information about the cfe-commits mailing list