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]
Other format: [Raw text]

LD_LIBRARY_PATH


Hi,

Crosstool is cool, and worked for me. I just want to return 2 bits of my 
experience:

1) Before starting crosstool my LD_LIBRARY_PATH was set to:
/opt/kdecvs/lib:/opt/kdecvs/lib:/opt/kdecvs/lib:

The following configure command failed:
/home/joachim/Documents/crosstool-0.27/build/mipsel-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2/glibc-2.3.2/configure 
--host=mipsel-unknown-linux-gnu --prefix=/usr --build=i686-pc-linux-gnu 
--without-cvs --disable-sanity-checks 
--with-headers=/home/joachim/Documents/crosstool-0.27/result/mipsel-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2/mipsel-unknown-linux-gnu/include 
--enable-hacker-mode

checking LD_LIBRARY_PATH variable... contains current directory
configure: error:
*** LD_LIBRARY_PATH shouldn't contain the current directory when
*** building glibc. Please change the environment variable
*** and run configure again.

When I unset the LD_LIBRARY_PATH everything works fine. But as you see the 
current path "." was not in my LD_LIBRARY_PATH at the start, but set so 
somewhere by the scripts.


2) After the build finished I had a hard time figuring out, where the results 
were. In subdir "result". (It's so obvious, once you know.) 

You might want to add these infos to your HOWTO-documentation. 

Thanks for crosstool,
Joachim


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]