milis/talimatname/onsistem/0glibc/talimat

36 lines
753 B
Plaintext
Raw Normal View History

2016-03-20 17:29:18 +01:00
version=2.23
2016-02-24 01:27:23 +01:00
source=(\
http://ftp.gnu.org/gnu/glibc/glibc-$version.tar.xz
)
2017-10-27 23:59:41 +02:00
derle()
2016-02-24 01:27:23 +01:00
{
cd glibc-$version
mkdir -v build
cd build
../configure \
--prefix=/tools \
2016-03-21 16:51:03 +01:00
--host=$LFS_TGT \
2016-02-24 01:27:23 +01:00
--build=$(../scripts/config.guess) \
--disable-profile \
--enable-kernel=2.6.32 \
--enable-obsolete-rpc \
--with-headers=/tools/include \
libc_cv_forced_unwind=yes \
libc_cv_ctors_header=yes \
libc_cv_c_cleanup=yes
make
# Evite le fail de make install
rm -rf /tools/share/info/dir
make install
echo 'main(){}' > dummy.c
2016-03-21 16:51:03 +01:00
$LFS_TGT-gcc dummy.c
2016-02-24 01:27:23 +01:00
echo $(readelf -l a.out | grep ': /tools')
rm -v dummy.c a.out
2016-03-20 17:29:18 +01:00
}