This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
I am trying to get working a cross-toolchain to compile programs on an i586-linux box, to run under arm-linux. Can anyone give me a few pointers on how to get glibc 2.2.1 installed. Here is the current situation: I have configured everything in the toolchain with --prefix=/usr/local/arm-linux which is the path on the PC where I want the cross utils installed. Doing a "make install" for glibc installs all the libraries under that tree, and gcc picks them up fine. The problem comes when I try to run the generated programs on the target, ARM box. It currently has glibc 2.2.1 installed in /lib. Wherever I try and put the new libraries, either a) Precompiled programs can't find their 2.1.2 libraries (causing the system to die) b) New programs can't find the 2.2.1 libraries. or c) New programs can find the new libraries, but the library then looks for other libraries (eg ld-linux.so.2) in the path from the PC, not the ARM filesystem. The things I really need to know are: a) How to add 2.2.1 to the ARM box without crippling glibc 2.1.2 programs. b) How to cross compile programs on the PC that will find the libraries on the ARM. Points to note are: a) There are no native compilers, etc. on the ARM box. b) glibc 2.1.2 won't compile on the PC (hence I'm using 2.2.1) c) I can mount the ARM filesystem on the PC. Any advice would be greatky appreciated. Thamks, -- James Inge /---- / mailto:jri@bigfoot.com / http://inge.org.uk /---- ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |