Displaying 3 results from an estimated 3 matches for "037f85ac".
2013 Feb 21
0
[LLVMdev] llvm-ar llvm-link
Hi Ankur,
Why do you need archive in this case? The other way of doing this is to merge all bitcode files into single file:
$ clang -c -emit-llvm abc.c -o abc.bc
$ clang -c -emit-llvm bcd.c -o bcd.bc
llvm-link bcd.bc abc.bc -o merged.bc
Cheers,
Ahmad
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of ankur deshwal
Sent: 21 February 2013 17:54
To:
2013 Feb 21
2
[LLVMdev] llvm-ar llvm-link
Hi,
I tried to build an llvm archive and link it against an llvm bc file.
However, it fails. Following is the procedure I followed ( abc.c is file
which calls a function whose definition is present in bcd.c)
$ clang -c -emit-llvm abc.c
$ clang -c -emit-llvm bcd.c
$ llvm-ar cr bsd.ar bcd.o
$ llvm-link abc.o bsd.ar
llvm-link: bsd.ar:1:2: error: expected integer
!<arch>
^
llvm-link:
2013 Feb 22
1
[LLVMdev] llvm-ar llvm-link
...loading file 'bsd.ar'****
>
> ** **
>
> What am I missing here ? ****
>
> ** **
>
> Regards,****
>
> Ankur****
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130222/037f85ac/attachment.html>