Re: linaro ld works, but debian ld does not

2013-08-12 Thread Stephen Kelly
On 08/12/2013 02:20 PM, Hector Oron wrote: Hello Stephen, 2013/8/9 Stephen Kelly steve...@gmail.com: After compiling a file I can attempt to link it while passing a --sysroot argument. With my linaro ld, this works, but not with my debian ld (can not find libc.so.6): Debian does

linaro ld works, but debian ld does not

2013-08-09 Thread Stephen Kelly
Hi there, After compiling a file I can attempt to link it while passing a --sysroot argument. With my linaro ld, this works, but not with my debian ld (can not find libc.so.6): stephen@hal:~/dev/src/playground/cmake/build{master}$ strace -e open /usr/bin/arm-linux-gnueabihf-ld

Re: Using /usr/lib/gcc-cross/ for triples

2013-06-27 Thread Stephen Kelly
On 06/26/2013 12:31 PM, Stephen Kelly wrote: On 06/19/2013 06:49 PM, Wookey wrote: Doko - why did this path get changed? Ping? Doko, any response? Can you point to the patch where the change was introduced? I have no idea how to find the patch. Is the package in a repo somewhere? I found

Re: Using /usr/lib/gcc-cross/ for triples

2013-06-27 Thread Stephen Kelly
On 06/27/2013 10:28 AM, Stephen Kelly wrote: However, I still don't understand what scenario could lead to a problem. I'll guess, and you tell me if I'm right. 1) We have a arm-linux-gnueabihf installation of debian and we install the gcc package natively. This installs the C runtime files

Re: Using /usr/lib/gcc-cross/ for triples

2013-06-26 Thread Stephen Kelly
On 06/19/2013 06:49 PM, Wookey wrote: +++ Stephen Kelly [2013-06-19 15:48 +0200]: Hi there, In attempting to use clang as a cross compiler, clang needed to be able to find some c runtime files etc which are part of gcc it seems. However, clang only looks in /usr/lib/gcc/$$TRIPLE

Using /usr/lib/gcc-cross/ for triples

2013-06-19 Thread Stephen Kelly
Hi there, In attempting to use clang as a cross compiler, clang needed to be able to find some c runtime files etc which are part of gcc it seems. However, clang only looks in /usr/lib/gcc/$$TRIPLE for such files. It does not look in /usr/lib/gcc-cross/$$TRIPLE , which is where the files