sandip sitapara wrote:
> Please find below the detail of configuration.
>
> *Current working directory gcc-4.5.2
> *lfs@nomad:~/gcc-build/gcc-4.5.2$ pwd
> /home/lfs/gcc-build/gcc-4.5.2
Your pwd output looks off for starters.
Quote:
The GCC documentation recommends building GCC outside of the source
directory in a dedicated build directory:
Re follow the instructions from the book more closely.
Unzip GCC-4.5.2
cd into gcc-4.5.4
then:
mkdir -v ../gcc-build
cd ../gcc-build
your build directory should be outside of the source tree..
for example:
lfs@nomad:~/gcc-build/
> *Searcihng for gmp directory in gcc-4.5.2*
> lfs@nomad:~/gcc-build/gcc-4.5.2$ ls | grep -r "gmp"
> gmp
>
> *Configuration*
> ./configure --target=$LFS_TGT --prefix=/tools --disable-nls
> --disable-shared --disable-multilib --disable-decimal-float
> --disable-threads --disable-libmudflap --disable-libssp
> --disable-libgomp --enable-languages=c --with-gmp-include=$(pwd)/gmp
> --with-gmp-lib=$(pwd)/gmp/.libs --without-ppl --without-cloog
--
Eric Plummer
[email protected]
--
Messages in plain text, please, no HTML.
No top posting, please.
--
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page