Thanks for the help. 
I gave following options with make install. That worked. 

Regards,
Mallikarjuna

-----Original Message-----
From: Zhenqiang Chen [mailto:zhenqiang.c...@arm.com] 
Sent: Friday, November 28, 2014 8:48 AM
To: Gouda Mallikarjuna-B30506
Cc: linaro-toolchain@lists.linaro.org
Subject: RE: building eglibc for arm-linux-gnueabihf tools with multilib support

Please configure eglibc with

rtlddir=/lib
libdir=/usr/lib/arm-linux-gnueabihf
slibdir=/lib/arm-linux-gnueabihf

or

rtlddir=/lib
libdir=/usr/lib/arm-linux-gnueabi
slibdir=/lib/arm-linux-gnueabi

Thanks!
-Zhenqiang

From: linaro-toolchain-boun...@lists.linaro.org
[mailto:linaro-toolchain-boun...@lists.linaro.org] On Behalf Of Mallikarjun.
go...@freescale.com
Sent: Thursday, November 27, 2014 2:57 PM
To: linaro-toolchain@lists.linaro.org
Subject: building eglibc for arm-linux-gnueabihf tools with multilib support

Hi All,
Currently linaro toolchain for arm-linux-gnueabihf built with crosstool-ng 
scripts uses prebuilt sysroot.
I am trying to build eglibc on my own without using prebuilt sysroot. I am not 
able to exactly create same layout in the library layout.

Linaro build layout looks:
gcc-linaro-arm-linux-gnueabihf-4.8-2014.01_linux\arm-linux-gnueabihf\libc\us
r\lib → arm-linux-gnueabi arm-linux-gnueabihf

one for soft float and other for hard float fp. Can anybody please tell how we 
tell build system to create directories like above while building eglibc?

I used following commands to build eglibc:
../src_eglibc/configure --disable-profile --without-gd --without-cvs 
--prefix=/usr libc_cv_forced_unwind=yes libc_cv_c_cleanup=yes 
--with-headers=<some_dir>/arm-linux-gnueabihf/libc/usr/include
--host=arm-linux-gnueabihf

Make all

make install install_root= <some_dir>/arm-linux-gnueabihf/libc/


Thank you very much for your help.


//Mallikarjuna




_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain

Reply via email to