Mustakimur Khandaker via llvm-dev
2019-Mar-01 00:02 UTC
[llvm-dev] Link static library (.a) with a bitcode
Hi I am trying to build a complete bitcode (which includes static library codes), so I am looking for a way to link .bc and .a together. Is there anyway to do so? Mustakimur R. Khandaker Sent from Mailspring, the best free email app for work E: mrk15e at my.fsu.edu<https://link.getmailspring.com/link/1551398424.local-701e4ad2-18e5-v1.5.5-b7939d38 at getmailspring.com/0?redirect=mailto%3Amrk15e%40my.fsu.edu&recipient=bGx2bS1kZXZAbGlzdHMubGx2bS5vcmc%3D> P: 8509993635<tel:8509993635> W: http://ww2.cs.fsu.edu/~khandake/<https://link.getmailspring.com/link/1551398424.local-701e4ad2-18e5-v1.5.5-b7939d38 at getmailspring.com/1?redirect=http%3A%2F%2Fww2.cs.fsu.edu%2F~khandake%2F&recipient=bGx2bS1kZXZAbGlzdHMubGx2bS5vcmc%3D> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190301/71067876/attachment.html>
Alberto Barbaro via llvm-dev
2019-Mar-01 05:55 UTC
[llvm-dev] Link static library (.a) with a bitcode
Hi, I think you could compile your project using wllvm [1], extract the bitcode using extract-bc and link all with llvm-as. [1] https://github.com/travitch/whole-program-llvm On Fri, Mar 1, 2019, 01:03 Mustakimur Khandaker via llvm-dev < llvm-dev at lists.llvm.org> wrote:> Hi > > I am trying to build a complete bitcode (which includes static library > codes), so I am looking for a way to link .bc and .a together. Is there > anyway to do so? > > > *Mustakimur R. Khandaker* > Sent from Mailspring, the best free email app for work > E: mrk15e at my.fsu.edu > <https://link.getmailspring.com/link/1551398424.local-701e4ad2-18e5-v1.5.5-b7939d38 at getmailspring.com/0?redirect=mailto%3Amrk15e%40my.fsu.edu&recipient=bGx2bS1kZXZAbGlzdHMubGx2bS5vcmc%3D> > P: 8509993635 > W: http://ww2.cs.fsu.edu/~khandake/ > <https://link.getmailspring.com/link/1551398424.local-701e4ad2-18e5-v1.5.5-b7939d38 at getmailspring.com/1?redirect=http%3A%2F%2Fww2.cs.fsu.edu%2F~khandake%2F&recipient=bGx2bS1kZXZAbGlzdHMubGx2bS5vcmc%3D> > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190301/fdb39369/attachment.html>