Hi Rafael,>> I'm working on a project that involves archive files and since llvm-link >> does not currently support them, I have a simple patch (attached) to add >> this functionality. It isn't really efficient (it recomputes the set of >> symbols that need to be linked in after each link), and it probably has >> some problems with append linkage, but so far it has been enough for me. >> >> I'd like to clean this up and commit it back to llvm. Would someone like >> to tell me how to proceed? > > llvm-link is a very simple developer's tool.I don't see why it shouldn't support LLVM archives though. Ciao, Duncan. Can you use llvm-ld or a> system linker that supports LLVM IL? > >> Thanks. >> > > Cheers, > Rafael > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
On Sun, Jul 31, 2011 at 12:43 AM, Duncan Sands <baldrick at free.fr> wrote:> Hi Rafael, > >>> I'm working on a project that involves archive files and since llvm-link >>> does not currently support them, I have a simple patch (attached) to add >>> this functionality. It isn't really efficient (it recomputes the set of >>> symbols that need to be linked in after each link), and it probably has >>> some problems with append linkage, but so far it has been enough for me. >>> >>> I'd like to clean this up and commit it back to llvm. Would someone like >>> to tell me how to proceed? >> >> llvm-link is a very simple developer's tool. > > I don't see why it shouldn't support LLVM archives though.llvm-link-which-supports-archives is called "llvm-ld -link-as-library". -Eli
If this is the case, is there ever a reason to use llvm-link as opposed to llvm-ld? On Sun, Jul 31, 2011 at 1:01 AM, Eli Friedman <eli.friedman at gmail.com>wrote:> On Sun, Jul 31, 2011 at 12:43 AM, Duncan Sands <baldrick at free.fr> wrote: > > Hi Rafael, > > > >>> I'm working on a project that involves archive files and since > llvm-link > >>> does not currently support them, I have a simple patch (attached) to > add > >>> this functionality. It isn't really efficient (it recomputes the set of > >>> symbols that need to be linked in after each link), and it probably has > >>> some problems with append linkage, but so far it has been enough for > me. > >>> > >>> I'd like to clean this up and commit it back to llvm. Would someone > like > >>> to tell me how to proceed? > >> > >> llvm-link is a very simple developer's tool. > > > > I don't see why it shouldn't support LLVM archives though. > > llvm-link-which-supports-archives is called "llvm-ld -link-as-library". > > -Eli > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-- gregory malecha http://www.people.fas.harvard.edu/~gmalecha/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110731/6e1cbb22/attachment.html>