This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Committed, toplevel configury: Enable (don't disable) libffi for cris-elf, cris-linux.


It would be nice with something like a --enable-target-libffi,
that would work despite not configuring java/libgcj.

	* configure.in <crisv32-*-*, cris-*-*>: New local variable
	libgcj_ex_libffi.  Have specific match for *-*-linux*.  Separate
	matches for "*-*-aout" and "*-*-elf".  Don't disable libffi for
	"*-*-elf" and "*-*-linux*".
	* configure: Regenerate.

Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/configure.in,v
retrieving revision 1.347
retrieving revision 1.348
diff -p -u -c -r1.347 -r1.348
cvs diff: conflicting specifications of output style
*** configure.in	30 Mar 2005 12:25:23 -0000	1.347
--- configure.in	18 Apr 2005 23:00:16 -0000	1.348
*************** case "${target}" in
*** 481,489 ****
      noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
      ;;
    cris-*-* | crisv32-*-*)
      case "${target}" in
!       *-*-elf | *-*-aout)
  	noconfigdirs="$noconfigdirs ${libgcj}";;
        *)
  	noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
      esac
--- 481,494 ----
      noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
      ;;
    cris-*-* | crisv32-*-*)
+     libgcj_ex_libffi=`echo ${libgcj} | sed -e 's/target-libffi//'`
      case "${target}" in
!       *-*-aout)
  	noconfigdirs="$noconfigdirs ${libgcj}";;
+       *-*-elf)
+ 	noconfigdirs="$noconfigdirs ${libgcj_ex_libffi}";;
+       *-*-linux*)
+ 	noconfigdirs="$noconfigdirs ${libgcj_ex_libffi} target-newlib target-libgloss";;
        *)
  	noconfigdirs="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
      esac

brgds, H-P


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]