[LLVMdev] Where should I put libLLVMgold.so??
zhunan
zhunansjtu at gmail.com
Sat Sep 19 01:47:08 PDT 2009
Thank you , yes,I took the wrong directory,and I archieve the goal under
your instructions,
thank you
在 2009-09-19六的 09:51 +0300,Török Edwin写道:
> On 2009-09-19 03:28, zhunan wrote:
> > Yes,but ubuntu's directory structure is not exactly the same as the
> > classic linux distribute,
> >
> > I put libLLVMgold.so in /usr/lib/gcc/i486-linux-gnu/4.2.4 where cc1 is
> > also in.
> >
> >
>
> Are you sure that is llvm-gcc's cc1, and not your system compiler's?
> Try this:
> $ llvm-gcc -### -x c /dev/null
>
> Then look for a line containing cc1, something similar to this one:
> "/home/edwin/llvm-git/install/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.2.1/cc1"
> "-quiet" "-iprefix"
> "/home/edwin/llvm-git/install/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.2.1/"
> "/dev/null" "-quiet" "-dumpbase" "null" "-mtune=generic" "-auxbase"
> "null" "-o" "/tmp/cceoliII.s"
>
>
> > Strange situation,is it a bug for llvm-gcc????
> >
> > 在 2009-09-18五的 12:58 +0300,Török Edwin写道:
> >
> >> On 2009-09-18 03:06, Nan Zhu wrote:
> >>
> >>> OMG,that's just my situation...
> >>>
> >>> I can link with libLLVMgold.so manualy,but will fail in that by llvm-gcc.
> >>>
> >>> Debug llvm-gcc?????
> >>>
> >>> Any one installed the gold-plugin successfully can give some instruction?
> >>>
> >> Does the directory where you put the gold plugin look like this?
> >> $PREFIX/libexec/gcc/x86_64-unknown-linux-gnu/4.2.1/
> >>
> >> Where $PREFIX is the prefix where you installed llvm-gcc
> >>
> >> Best regards,
> >> --Edwin
> >>
> >>
> >
> >
>
More information about the llvm-dev
mailing list