Using the eval command twice Solving a discrete equation TSA broke a lock for which they have a master key. Boss sends a birthday message. Last edited by Refractor; 06-11-2012 at 08:52 AM. Of course, passing this path to the C library libc.so may sounds strange and inapropriate, but it's exactly what my configure script is doing: configure:6447: checking for GNU gettext in libintl http://rinfix.com/cannot-find/usr-bin-ld-cannot-find-lc.html
Refractor View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by Refractor 06-11-2012, 02:15 PM #11 Sergei Steshenko Senior Member Registered: May 2005 share|improve this answer edited Feb 9 at 23:57 Floern 19.8k125783 answered Feb 9 at 23:36 crosswalking 111 ... But then it catenates that to the sysroot, resulting in /path/to/sysroot/path/to/sysroot/usr/lib/libc.so.6 which is nonsense. Share a link to this question via email, Google+, Twitter, or Facebook.
up vote 15 down vote favorite 2 find | grep libc.so.6 reveals that it's in /lib/i386-linux-gnu/libc.so.6, but a script I was running expected it to be directly under /lib, so why Now, let's specify the full path to /usr/lib/libc.so in the new sysroot (yeah, doesn't make sense, but please keep reading) ../toolchains/ctng-arm-unknown-linux-uclibcgnueabi/bin/arm-unknown-linux -uclibcgnueabi-gcc --sysroot=/home/test/tmp/ctng/ -o toto toto.c /home/test/tmp/ctng/usr/lib/libc.so /home/test/toolchains/ctng-arm-unknown-linux-uclibcgnueabi/lib/gcc/arm-u nknown-linux-uclibcgnueabi/4.4.3/../../../../arm-unknown-linux-uclibcgnu eabi/bin/ld: cannot Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name TSA broke a lock for which they have a master key.
Refractor View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by Refractor 06-08-2012, 11:15 AM #2 ta0kira Senior Member Registered: Sep 2004 Distribution: So, what's the /right/ way to coordinate the location of the target headers and libraries between gcc and binutils when cross-compiling? WaRP 7 Read More NEWS 10 Nov 2015 7 playful uses for NFC in gaming Read More NEWS 6 Nov 2015 Meet an NFC innovator: Speech Code Read More NEWS 5 Would you say there's any risk associated with manually adding a symlink?
Thanks in advance c++ c linux gcc cross-compiling share|improve this question asked May 26 '14 at 13:37 A R 6281718 Try adding -Wl--sysroot=$(SYSROOT), which passes the option to ld. Would I risk breaking anything if I put a symlink there? current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
What I'm saying is that I have no use for the 64 bit library. Reason: Made some progress on the problem, or at least I think so :) Refractor View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts Gcc Sysroot but it does make for very confusing error messages. –Ben Voigt May 8 '13 at 16:48 add a comment| Your Answer draft saved draft discarded Sign up or log in Skipping Incompatible When Searching For The output of running . ./setenv-embed.sh is CPP: /usr/bin/arm-linux-gnueabihf-cpp CXX: /usr/bin/arm-linux-gnueabihf-g++ AR: /usr/bin/arm-linux-gnueabihf-ar LD: /usr/bin/arm-linux-gnueabihf-ld RANLIB: /usr/bin/arm-linux-gnueabihf-gcc-ranlib-4.8 ARM_EMBEDDED_TOOLCHAIN: /usr/bin ARM_EMBEDDED_CXX_HEADERS: /usr/arm-linux-gnueabihf/include/c++/4.8.2 ARM_EMBEDDED_FLAGS: -march=armv7-a mfloat-abi=hard -mfpu=neon -I/usr/arm-linux-gnueabihf/include/c++/4.8.2 -I/usr/arm-linux-gnueabihf/include/c++/4.8.2/arm-linux-gnueabihf ARM_EMBEDDED_SYSROOT: /usr/arm-linux-gnueabihf which indicates
How to prove that authentication system works, and that the customer is using the wrong password? This happened for both my uclibc build for arm and powerpc, (but not a problem building the same buildroot for x86/glibc/nptl build - which is a different ball game). If I can build the cross compiler support both soft/hard float big/little endian? check over here Furniture name for waist-high floor-sitting shelf cabinet thing Assigning only part of a string to a variable in bash Two-way high power outdoor Wi-Fi How to reduce the width of the
The odd thing is that the files it claims to not find exist in the directory –user3079474 Jul 29 '15 at 14:16 That normally occurs because of a mismatch The first is always pointed at /foo/bar /, as seen from the root of your file system, the latter one depends on your current working directory. Password Programming This forum is for all programming questions.
The pitfalls are: 1) standard utilities (like 'cp', 'mv', 'awk') rely on 'glibc', so if LD_LIBARY_PATH is set to point to "private" 'glibc' before 'configure' is invoked, the standard utilities may So now I know that first I need to change the path before building gcc. c++ linker arm embedded crypto++ share|improve this question edited Feb 10 at 23:44 jww 36.4k21114227 asked Jul 29 '15 at 10:44 user3079474 379419 The embedded tag will get the I'm following the method provided in this answer.
Sergei Steshenko View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by Sergei Steshenko 06-08-2012, 05:19 PM #4 ta0kira Senior Member Registered: Sep How can I claim compensation? So it doesn't seem to be a problem of Crosstool-NG toolchains specifically. http://rinfix.com/cannot-find/usr-bin-ld-cannot-find-lgl.html from the root ongoing, your search paths aren't even looked up and searched for the libc.so .