This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more infromation.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
I am trying to set up a cross-compiler that will run on a sparcstation running solaris 2.7 that will generate executables for a Pentium III PC running Hard Hat Linux. I built binutils and gcc with a private $prefix and with target specified as 'i586-linux'. Before building the binutils and gcc, I copied libraries and include files from the target environment to $prefix/i586-linux/lib and $prefix/i586-linux/include respectively. When I try to cross-compile using the resulting binaries, the cross-linker complains about not finding libraries in /lib or /usr/lib etc. I have tried setting environment variables LD_LIBRARY_PATH and LIBRARY_PATH as well as specifying a -L option on the command line pointing to $prefix/i586-linux/lib. But the cross-linker still complains about not finding the files in /lib, /usr/lib etc. The cross-compiler itself seems to work fine in the sense that if I copy the .o file to the target environment and link it there, the resulting executable runs ok. Ajit Sanzgiri ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com ------ 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] |