[cfe-dev] choosing the gcc toolchain
reed kotler
rkotler at mips.com
Mon Mar 3 14:00:57 PST 2014
So it seems to work.
rkotler at mipsswbrd006-le:~/caviumnativellvm/build$
./Release+Asserts/bin/clang++ -v -target mipsel-unknown-linux-gnu
clang version 3.5 (gitosis at dmz-portal.mips.com:clang.git
f4481e0e412e3f817e65d5ce1c835381dc7a7773)
(gitosis at dmz-portal.mips.com:llvm.git
18fe44cb057e4b11533bd3f814b96fdca724baf0)
Target: mipsel-unknown-linux-gnu
Thread model: posix
Found candidate GCC installation: /usr/lib/gcc/mipsel-linux-gnu/4.4
Found candidate GCC installation: /usr/lib/gcc/mipsel-linux-gnu/4.4.6
Found candidate GCC installation: /usr/lib/gcc/mipsel-linux-gnu/4.4.7
Found candidate GCC installation: /usr/lib/gcc/mipsel-linux-gnu/4.6
Found candidate GCC installation: /usr/lib/gcc/mipsel-linux-gnu/4.6.3
Found candidate GCC installation: /usr/lib/gcc/mipsel-linux-gnu/4.7
Found candidate GCC installation: /usr/lib/gcc/mipsel-linux-gnu/4.7.2
Selected GCC installation: /usr/lib/gcc/mipsel-linux-gnu/4.7
Candidate multilib: .;@m32
Selected multilib: .;@m32
rkotler at mipsswbrd006-le:~/caviumnativellvm/build$ find /usr/lib -name
crtbegin.o
/usr/lib/gcc/mipsel-linux-gnu/4.7/crtbegin.o
/usr/lib/gcc/mipsel-linux-gnu/4.6/64/crtbegin.o
/usr/lib/gcc/mipsel-linux-gnu/4.6/n32/crtbegin.o
/usr/lib/gcc/mipsel-linux-gnu/4.6/crtbegin.o
/usr/lib/gcc/mipsel-linux-gnu/4.4/crtbegin.o
rkotler at mipsswbrd006-le:~/caviumnativellvm/build$
4.7.2 is linked to 4.7
rkotler at mipsswbrd006-le:~/caviumnativellvm/build$ ls -l
/usr/lib/gcc/mipsel-linux-gnu/4.7.2
lrwxrwxrwx 1 root root 3 Oct 7 14:44
/usr/lib/gcc/mipsel-linux-gnu/4.7.2 -> 4.7
rkotler at mipsswbrd006-le:~/caviumnativellvm/build$
rkotler at mipsswbrd006-le:~/caviumnativellvm/build$
./Release+Asserts/bin/clang++ -v -target mipsel-unknown-linux-gnu
rkotler at mipsswbrd006-le:~/caviumnativellvm/build$
On 03/03/2014 10:59 AM, Simon Atanasyan wrote:
> On Mon, Mar 3, 2014 at 10:42 PM, Reed Kotler <rkotler at mips.com> wrote:
>> I reran with mip32. Seems to not work at all now.
> Could you run "find /usr/lib -name crtbegin.o" on that host?
>
More information about the cfe-dev
mailing list