ALMOST SOLVED: gcc-3.2 + glibc 2.2.5

V13 v13 at priest.com
Sat Aug 17 05:01:01 EEST 2002


Telika doylepse.. ayti ti stigmi exo gcc 3.2 kai glibc 2.2.5,
patcharismena me ta patches poy yparxoyn sto:
http://www.zipworld.com.au/~gschafer/lfs-tweaks.html

Ayti ti fora, to mono poy alaksa, itan na bgalo ola ta extra flags
apo to gcc kai tin glibc...

O tropos me ton opoio ta ekana compile palaiotera itan:

gcc:
---- 

export BOOT_CFLAGS="-O3 -march=pentium3 -mcpu=pentium3 -mfpmath=sse -mmmx -msse"
export CFLAGS='-O3 -march=pentium3 -mcpu=pentium3 -mfpmath=sse -mmmx -msse'
export LIBCFLAGS='-O3 -march=pentium3 -mcpu=pentium3 -mfpmath=sse -mmmx -msse'
export CXXFLAGS='-O3 -march=pentium3 -mcpu=pentium3 -mfpmath=sse -mmmx -msse -fno-implicit-templates'
export LIBCXXFLAGS='-O3 -march=pentium3 -mcpu=pentium3 -mfpmath=sse -mmmx -msse -fno-implicit-templates'

../gcc-3.2/configure --enable-threads=posix --prefix=/usr --enable-languages=c,c++ --enable-shared

make CFLAGS='-O3 -march=pentium3 -mcpu=pentium3 -mfpmath=sse -mmmx -msse' \
	LIBCFLAGS='-O3 -march=pentium3 -mcpu=pentium3 -mfpmath=sse -mmmx -msse' \
	LIBCXXFLAGS='-O3 -march=pentium3 -mcpu=pentium3 -mfpmath=sse -mmmx -msse -fno-implicit-templates' \
	bootstrap

(nai, m'aresei na ta dilono 5-10 fores)


kai glibc:
----------

export CFLAGS="-O3 -march=pentium3 -mcpu=pentium3 -mfpmath=sse -mmmx -msse"
export CXXFLAGS="-O3 -march=pentium3 -mcpu=pentium3 -mfpmath=sse -mmmx -msse"
../glibc-2.2/configure --prefix=/usr --enable-kernel=2.4.18 --enable-omitfp --enable-add-ons=linuxthreads --disable-profile
make


Tora den dilosa tipota apolytos, eno ta configure itan:

gcc:
----
./gcc-3.2/configure --enable-threads=posix --prefix=/usr --enable-languages=c,c++ --enable-shared
make bootstrap

glibc:
------
../glibc-2.2/configure --prefix=/usr --enable-add-ons=linuxthreads --disable-profile

ta tests petyxan, ta threads deixnoyn na doylevoyn tzami kai epiteloys, doylevei ksana to xmms :)))

an kserei kaneis ti akribos apo ta parapano eftege, tha me glytosei apo arketa compile
ta opoia exo ksekinisei idi na kano, mexri na to bro.

na simeioso oti stin ola diadikasia, ksylosa kai to cvs ths glibc gia na dokimaso kai tin nea ekdosi...
Enimerotika anafero oti ta sources einai 8MB parapano (xoris na metrame ta ChagneLog), eno to patch
apo glibc-2.2.5 se ayti toy cvs einai 28.7MB (pali xoris ta ChangeLog). Profanos exoyn kanei treles
allages oi typoi kai ap'oti fainetai ayti ti stigmi paizoyn me to ld.so, mias kai merika apo ta arxeia
ta opoia allaksan tin teleytaia mera anikoyn se ayto.

opoios allos exei to koyragio na kanei ena upgrade, as to kanei... Opos fainetai, ayti itan h teleytaia
allagi oson afora tis asymbatotites ton ektelesimon stin C++. Meta apo ayto, afoy den yparxei prothesi
na allaksei ksana h libstdc++, ta diafora distributions tha arxisoyn na allazoyn apo gcc 2.95 poy xrisimopoioyn
se 3.2, mias kai exoyn minei idi poly piso (1.5 xrono peripoy).

<<V13>>




More information about the Linux-greek-users mailing list