El Viernes, 25 de Noviembre de 2005 21:42, Jeremy Huntwork escribió:
> Thomas Pegg wrote:
> > I think it's a good format that gives you control similar to what is
> > currently in the xml based profiles, but without the xml.
>
> Yeah, I like this. The trouble would lie in how to parse the LFS book to
> do that. :)
Something like this?
#!/bin/sh
set -e
unpack {
cd $PKGDIR
}
configure {
mkdir -v ../gcc-build
cd ../gcc-build
../gcc-4.0.2/configure --prefix=/tools \
--with-local-prefix=/tools --disable-nls --enable-shared \
--enable-languages=c
}
make {
make bootstrap
}
test {
}
install {
make install
ln -vs gcc /tools/bin/cc
}
exit
Don't look very hard ;-)
--
Manuel Canales Esparcia
Usuario de LFS nº2886: http://www.linuxfromscratch.org
LFS en castellano: http://www.escomposlinux.org/lfs-es http://www.lfs-es.com
TLDP-ES: http://es.tldp.org
--
http://linuxfromscratch.org/mailman/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page