353 |
TO3FLAGS="" |
TO3FLAGS="" |
354 |
TO2FLAGS="" |
TO2FLAGS="" |
355 |
;; |
;; |
356 |
|
arm*) |
357 |
|
TCFLAGS="$TCFLAGS -mlong-calls";; |
358 |
esac;; |
esac;; |
359 |
esac |
esac |
360 |
if test "$enable_pic" = "yes" ; then |
if test "$enable_pic" = "yes" ; then |
395 |
fi |
fi |
396 |
fi |
fi |
397 |
|
|
398 |
|
MY_SUBDIRS= |
399 |
|
|
400 |
# |
# |
401 |
# GMP |
# GMP |
407 |
if test $use_gmp = yes ; then |
if test $use_gmp = yes ; then |
408 |
|
|
409 |
AC_MSG_CHECKING([use_gmp=yes, doing configure in gmp directory]) |
AC_MSG_CHECKING([use_gmp=yes, doing configure in gmp directory]) |
410 |
echo |
# echo |
411 |
echo "#" |
# echo "#" |
412 |
echo "#" |
# echo "#" |
413 |
echo "# -------------------" |
# echo "# -------------------" |
414 |
echo "# Subconfigure of GMP" |
# echo "# Subconfigure of GMP" |
415 |
echo "#" |
# echo "#" |
416 |
echo "#" |
# echo "#" |
417 |
|
|
418 |
if test "$enable_oldgmp" = "yes" ; then |
if test "$enable_oldgmp" = "yes" ; then |
419 |
GMPDIR=gmp |
GMPDIR=gmp |
426 |
# m68k-linux) |
# m68k-linux) |
427 |
# (cd gmp3 && ./configure --build=none-unknown-linux-gnu) ;; |
# (cd gmp3 && ./configure --build=none-unknown-linux-gnu) ;; |
428 |
*) |
*) |
429 |
(cd $GMPDIR && ./configure) ;; |
# (cd $GMPDIR && ./configure) ;; |
430 |
|
MY_SUBDIRS="$MY_SUBDIRS $GMPDIR" ;; |
431 |
esac |
esac |
432 |
echo "#" |
# echo "#" |
433 |
echo "#" |
# echo "#" |
434 |
echo "#" |
# echo "#" |
435 |
echo "# Subconfigure of GMP done" |
# echo "# Subconfigure of GMP done" |
436 |
echo "# ------------------------" |
# echo "# ------------------------" |
437 |
echo "#" |
# echo "#" |
438 |
|
|
439 |
PATCHED_SYMBOLS="" |
PATCHED_SYMBOLS="" |
440 |
if test "$enable_dynsysgmp" = "yes" ; then |
if test "$enable_dynsysgmp" = "yes" ; then |
592 |
fi |
fi |
593 |
|
|
594 |
if test "$enable_locbfd" = "yes" ; then |
if test "$enable_locbfd" = "yes" ; then |
595 |
echo "#" |
# echo "#" |
596 |
echo "#" |
# echo "#" |
597 |
echo "# -------------------------" |
# echo "# -------------------------" |
598 |
echo "# Subconfigure of LIBIBERTY" |
# echo "# Subconfigure of LIBIBERTY" |
599 |
echo "#" |
# echo "#" |
600 |
echo "#" |
# echo "#" |
601 |
cd binutils/libiberty && chmod +x configure && ./configure && cd ../.. |
# cd binutils/libiberty && chmod +x configure && ./configure && cd ../.. |
602 |
echo "#" |
MY_SUBDIRS="$MY_SUBDIRS binutils/libiberty " |
603 |
echo "#" |
# echo "#" |
604 |
echo "#" |
# echo "#" |
605 |
echo "# Subconfigure of LIBIBERTY done" |
# echo "#" |
606 |
echo "# ------------------------------" |
# echo "# Subconfigure of LIBIBERTY done" |
607 |
echo "#" |
# echo "# ------------------------------" |
608 |
echo "#" |
# echo "#" |
609 |
echo "#" |
# echo "#" |
610 |
echo "# -------------------" |
# echo "#" |
611 |
echo "# Subconfigure of BFD" |
# echo "# -------------------" |
612 |
echo "#" |
# echo "# Subconfigure of BFD" |
613 |
echo "#" |
# echo "#" |
614 |
cd binutils/bfd && chmod +x configure && ./configure && cd ../.. |
# echo "#" |
615 |
echo "#" |
# cd binutils/bfd && chmod +x configure && ./configure && cd ../.. |
616 |
echo "#" |
MY_SUBDIRS="$MY_SUBDIRS binutils/bfd " |
617 |
echo "#" |
# echo "#" |
618 |
echo "# Subconfigure of BFD done" |
# echo "#" |
619 |
echo "# ------------------------" |
# echo "#" |
620 |
echo "#" |
# echo "# Subconfigure of BFD done" |
621 |
|
# echo "# ------------------------" |
622 |
|
# echo "#" |
623 |
TLIBS="$TLIBS `pwd`/binutils/bfd/libbfd.a `pwd`/binutils/libiberty/libiberty.a" |
TLIBS="$TLIBS `pwd`/binutils/bfd/libbfd.a `pwd`/binutils/libiberty/libiberty.a" |
624 |
AC_DEFINE(HAVE_LIBBFD) |
AC_DEFINE(HAVE_LIBBFD) |
625 |
BUILD_BFD="h/bfd.h h/bfdlink.h h/ansidecl.h h/symcat.h" |
BUILD_BFD="h/bfd.h h/bfdlink.h h/ansidecl.h h/symcat.h" |
626 |
AC_SUBST(BUILD_BFD) |
AC_SUBST(BUILD_BFD) |
627 |
fi |
fi |
628 |
|
|
629 |
|
AC_CONFIG_SUBDIRS($MY_SUBDIRS) |
630 |
|
|
631 |
# Find where Data begins. This is used by the storage allocation |
# Find where Data begins. This is used by the storage allocation |
632 |
# mechanism, in the PAGE macro. This offset is subtracted from |
# mechanism, in the PAGE macro. This offset is subtracted from |
633 |
# addresses, in calculating a page for an address in the heap. |
# addresses, in calculating a page for an address in the heap. |