But it builds all three OK using crosstool-ng 1.7.2 The only real difference I see so far is binutil 2.20.1 versus binutil 2.20 (apart from any crosstool patch differences that may Day Re: linking correct libc From: ng Re: linking correct libc From: ng Re: linking correct libc From: Yann E. MORIN wrote: Peter, All, On Tuesday 26 May 2009 07:07:28 [email protected] wrote: CFLAGS="-march=armv4t" CPPFLAGS="-I/back/ts/root2/usr/include" LDFLAGS="-L/back/ts/root2/usr/lib/" make arm-unknown-linux-gnueabi-gcc -march=armv4t -Wall -Wstrict-prototypes -fpie -I/back/ts/root2/usr/include -DHOSTS_ACCESS -DCHECK_PORT -DIGNORE_SIGCHLD -DFACILITY=LOG_DAEMON -c -o portmap.o portmap.c arm-unknown-linux-gnueabi-gcc 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 weblink
When configuring gcc, I used --with-sysroot=/path/to/sysroot, where glibc is installed under usr/. And how to compile this. And all those -L's point to places that clearly aren't /. MORIN. -- For unsubscribe information see http://sourceware.org/lists.html#faq Follow-Ups: Re: linking correct libc From: Yann E.
How can the US electoral college vote be so different to the popular vote? Word for a Fact Believed by a Sub-Culture What is the common, normally open, normally closed? How to handle swear words in quote / transcription?
Comment 10 progmei 2012-09-07 13:30:13 UTC It's OK now. OBDII across the world? Build me a brick wall! If so, Where can I find it?
share|improve this answer answered Dec 27 '09 at 2:34 t0mm13b 26.2k54883 Just tried
export LIBPATH=/home/work/worldcom/filesys/lib and got no joy. The makefile I am using is attached below,Makefile:------------------------------------------------------------------------------------------------------------------------------------# define the C compiler to useCC = /opt/poky/1.4+snapshot/sysroots/i686-pokysdk-linux/usr/bin/cortexa9hf-vfp-neon-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc# define any compile-time flagsCFLAGS = -Wall -g# define any directories containing header files other than The system then searches in library paths as defined in /etc/ld.so.conf, including /usr/lib and /lib by default. Anything that hardcodes the path to libc.so must be updated to work properly from Ubuntu 11.04 onwards.
How do unlimited vacation days work? hope that helped. –moritz Dec 27 '09 at 15:06 It's not the makefile that's broken, the absolute paths are contained in linker scripts. See the CrossGCC FAQ for lots more information. Browse other questions tagged libraries or ask your own question.
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). GCC is version 4.1.1 Binutils 2.17 Glibc is CVS head. Thank you! http://rinfix.com/usr-bin-ld-cannot/usr-bin-ld-cannot-find-usr-lib-libc-nonshared-a.html Safety - Improve braking power in wet conditions Boss sends a birthday message.
How do I deal with my current employer not respecting my decision to leave? arm-unknown-linux-gnueabi-gcc -L/back/ts/root2/usr/lib/ -pie portmap.o pmap_check.o from_local.o -lwrap -o portmap All input .o files should be ARM files, they got build just above. Thank you!
Not the answer you're looking for? MORIN Index Nav: [DateIndex] [SubjectIndex] [AuthorIndex] [ThreadIndex] Message Nav: [DatePrev][DateNext] [ThreadPrev][ThreadNext] This is the mail archive of the [email protected] mailing list for the GCC project. Maybe you are right about the gcc compiler being built to point to the /lib path, although that seems weird. Why is the 'You talking to me' speech from the movie 'Taxi Driver' so famous?
Furniture name for waist-high floor-sitting shelf cabinet thing Is it possible for a diesel engine computer to detect (and prevent) a runaway condition? However, as this usr/lib/ directory is inside the toolchain sysroot, I thought "ld" was supposed to interpret paths in linker script relative to the sysroot. linker cross-compiling share|improve this question edited Aug 27 '10 at 22:15 ysth 68.9k381167 asked Dec 27 '09 at 1:28 lishevita 18115 You should have a look at the output UNIX is a registered trademark of The Open Group.
Which might be all right, but looks a bit strange. share|improve this answer edited Dec 29 '09 at 20:18 Peter Mortensen 10.3k1370108 answered Dec 27 '09 at 2:00 moritz 2,03211124 Sure, but WHAT in the makefile could be broken? more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed How to reply?
Is there anything i am doing wrong?