You are not logged in.
hi there, I don't know if it's the good forum for that but I hope someone can help me. I would like to install Linux from Scratch and use my Arch noodle install as a host for it for the initial stages. However, the software versions used in LFS are incompatible with gcc 4 which is the one used by arch.
Is there an easy to removie gcc 4 and install the 3.4 instead. How would you procede?
Thanx for your time
Offline
Sorry, but I don't believe there is at the moment...
Offline
Hmm... that s what i thought. I ll just go the lazy way and take one of my other old distro cds. It was a real new arch install anyway so i,m not wasting too much.
thanx anyway
ciao
Offline
use at own risk, no further comments on the topic from me.
PKGBUILD
# Maintainer: Alexander Baldeck <alexander.baldeck@icomedias.com>
pkgname=gcc-compat
pkgver=3.4.5
pkgrel=1
pkgdesc="The GNU Compiler Collection"
url="http://gcc.gnu.org"
depends=('glibc' 'binutils')
source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-$pkgver/gcc-{core,g++,objc}-$pkgver.tar.gz
gcc-compat.sh )
build() {
cd $startdir/src/gcc-$pkgver
mkdir ../gcc-build
cd ../gcc-build
../gcc-$pkgver/configure --prefix=/opt/gcc-compat/ --enable-shared
--enable-languages=c,c++,objc --enable-threads=posix --enable-__cxa_atexit
--program-suffix=-compat
make bootstrap || return 1
make DESTDIR=$startdir/pkg/ install || return 1
install -D -m 755 ../gcc-compat.sh $startdir/pkg/etc/profile.d/gcc-compat.sh
}
md5sums=('5c15678551c0cde4e86ae426c4be7d6b' '1c3344cb56ae14bf506022515fb8dc4e'
'0c52164575d3ce8bf1084017e9000794' '9edc03d2a3893a04e77431656a84c4b4')
gcc-compat.sh
export PATH=$PATH:/opt/gcc-compat/bin
I recognize that while theory and practice are, in theory, the same, they are, in practice, different. -Mark Mitchell
Offline