Re: Compile 4.7.1 problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

Benjamin Beurdouche wrote:
> Sorry I did copy the wrong line Š
> Did you try to give the path of mpfr directly in the configuration step ?
> 
> 
> ../configure --prefix=/opt/linux_4.7.1 --with-mpfr=/where-you-put-it
> --enable-languages=c,c++
> 
>

Installation of prerequisites to the default path will also not work!

The only way I found to get the things work is to install all packets to
exact one path and give all the path information manually to all the
packages and the compiler configure itself:



tar -xjf ../avrdownload/gmp-5.0.5.tar.bz2
cd gmp-5.0.5/
./configure  --enable-cxx --prefix=/opt/linux-gnu_4.7.1
make
sudo make install

---------

tar -xjf ../avrdownload/mpfr-3.1.1.tar.bz2
cd mpfr-3.1.1/
./configure --prefix=/opt/linux-gnu_4.7.1 --with-gmp=/opt/linux-gnu_4.7.1
make
sudo make install

------
tar -xzf ../avrdownload/mpc-1.0.tar.gz
cd mpc-1.0/
./configure --prefix=/opt/linux-gnu_4.7.1
--with-gmp=/opt/linux-gnu_4.7.1 --with-mpfr=/opt/linux-gnu_4.7.1
make
sudo make install

---------
tar -xjf ~/avrdownload/ppl-1.0.tar.bz2
cd ppl-1.0/
./configure --prefix=/opt/linux-gnu_4.7.1 --with-gmp=/opt/linux-gnu_4.7.1
make
sudo make install

-----------

tar -xjf ../../avrdownload/gcc-4.7.1.tar.bz2
mkdir build_linux
cd build_linux
../configure --prefix=/opt/linux-gnu_4.7.1
--with-mpfr=/opt/linux-gnu_4.7.1 --with-mpc=/opt/linux-gnu_4.7.1
--with-ppl=/opt/linux-gnu_4.7.1 --with-gmp=/opt/linux-gnu_4.7.1
--enable-languages=c,c++
make -j8
sudo make install


For me it looks that there is no way to simply copy the prerequisite
packages to the compiler and start configure/make.

Regards
 Klaus





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux