|
@ -150,6 +150,14 @@ tar xvf $CWD/gcc-$VERSION.tar.?z || exit 1 |
|
|
# #zcat $CWD/gcc.66782.diff.gz | patch -p0 --verbose || exit 1 |
|
|
# #zcat $CWD/gcc.66782.diff.gz | patch -p0 --verbose || exit 1 |
|
|
#) || exit 1 |
|
|
#) || exit 1 |
|
|
|
|
|
|
|
|
|
|
|
# Add ISL to the source |
|
|
|
|
|
( cd gcc-$VERSION |
|
|
|
|
|
ISLVER=$(echo $CWD/isl-*.tar.xz | rev | cut -f 3- -d . | cut -f 1 -d - | rev) |
|
|
|
|
|
rm -rf isl isl-$ISLVER |
|
|
|
|
|
tar xvf $CWD/isl-$ISLVER.tar.xz || exit 1 |
|
|
|
|
|
mv isl-$ISLVER isl || exit 1 |
|
|
|
|
|
) || exit 1 |
|
|
|
|
|
|
|
|
# Copy ecj.jar into the TLD of the source. Needed for java compiler. |
|
|
# Copy ecj.jar into the TLD of the source. Needed for java compiler. |
|
|
# This can be retrieved from ftp://sourceware.org/pub/java |
|
|
# This can be retrieved from ftp://sourceware.org/pub/java |
|
|
cp $CWD/ecj-4.9.jar gcc-$VERSION/ecj.jar |
|
|
cp $CWD/ecj-4.9.jar gcc-$VERSION/ecj.jar |
|
@ -509,6 +517,10 @@ if [ "$ARCH" = "x86_64" ]; then |
|
|
$PKG1/usr/lib${LIBDIRSUFFIX}/gcc/${TARGET}/${VERSION}/specs |
|
|
$PKG1/usr/lib${LIBDIRSUFFIX}/gcc/${TARGET}/${VERSION}/specs |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# Install liblto_plugin.so for binutils |
|
|
|
|
|
mkdir -p $PKG1/usr/lib/bfd-plugins |
|
|
|
|
|
ln -sf ../../libexec/gcc/${TARGET}/${VERSION}/liblto_plugin.so $PKG1/usr/lib/bfd-plugins/liblto_plugin.so |
|
|
|
|
|
|
|
|
# make ada.install-common DESTDIR=$PKG1 |
|
|
# make ada.install-common DESTDIR=$PKG1 |
|
|
# make install-gnatlib DESTDIR=$PKG1 |
|
|
# make install-gnatlib DESTDIR=$PKG1 |
|
|
make -i install-info DESTDIR=$PKG1 |
|
|
make -i install-info DESTDIR=$PKG1 |
|
|