1234567891011121314151617181920212223242526 |
- cd $tmpdir
-
- # Downloading binutils sources
- if [ ! -f "$binutils" ]; then
- echo "Downloading binutils sources..."
- wget $binutilsmirror/$binutils
- tar -xf $binutils
- fi
- # Configure Binutils
-
- if [ ! -d "${binutilssrcdir}-build" ]; then
- mkdir ${binutilssrcdir}-build
- fi
-
- cd ${binutilssrcdir}-build
- ../$binutilssrcdir/configure --prefix=$freondir --enable-shared
-
- make tooldir=$freondir -j$corecount
-
- make tooldir=$freondir install
-
- cp -v ../$binutilssrcdir/include/libiberty.h $freondir/include
-
- cd $tmpdir
|