On Tue, Jan 11, 2011 at 8:52 AM, Andrew Benton <[email protected]> wrote: > On Mon, 10 Jan 2011 10:14:44 -0600 > "mike cutie and maia" <[email protected]> wrote: > >> the book didn't tell me to put them in the source dir >> > Err, yes it did. if you read > http://www.linuxfromscratch.org/lfs/view/development/chapter05/generalinstructions.html > It clearly says: > > Important > > Before issuing the build instructions for a package, the package should > be unpacked as user lfs, and a cd into the created directory should be > performed. > > So to compile gcc you should untar the gcc source, cd into the created > directory and then: > tar -jxf ../mpfr-3.0.0.tar.bz2 > mv -v mpfr-3.0.0 mpfr > tar -jxf ../gmp-5.0.1.tar.bz2 > mv -v gmp-5.0.1 gmp > tar -zxf ../mpc-0.8.2.tar.gz > mv -v mpc-0.8.2 mpc > > Which would untar mpfr, gmp and mpc within the gcc source. > > Andy > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/lfs/faq.html > Unsubscribe: See the above information page >
I found that it takes very careful reading, and it has taken me three attempts so far. Remember that _every_ chapter is preceded by: tar -xavf whatever_source_tar_ball cd whatever_source_dirctory Then follow the directions in the chapter line by line.. HTH, Brian -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
