This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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]

PATCH: dlltool not built for arm-pe target


Hi Guys,

  I am applying the patch below to fix a small bug in the configure
  script for the binutils subdirectory.  A toolchain configured as
  "--target=arm-pe" would not build 'dlltool' whereas one configured
  as "--target=arm-unknown-pe" would.  This was because the patterns
  in configure.in were not allowing for the fact that the target
  string is always a triple.

  The patch also fixes similar problems for the mcore-pe and mcore-elf
  targets.

Cheers
        Nick

binutils/ChangeLog
2003-04-01  Nick Clifton  <nickc at redhat dot com>

	* configure.in: Change "arm-pe*" to "arm-*-pe*".  Similarly for
	thumb-pe*, mcore-pe and mcore-*elf.
	* configure: Regenerate.

Index: binutils/configure.in
===================================================================
RCS file: /cvs/src/src/binutils/configure.in,v
retrieving revision 1.38
diff -c -3 -p -w -r1.38 configure.in
*** binutils/configure.in	5 Dec 2002 18:33:27 -0000	1.38
--- binutils/configure.in	1 Apr 2003 10:48:55 -0000
*************** changequote([,])dnl
*** 235,246 ****
  	  DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_ARM_EPOC -DDLLTOOL_ARM"
  	  BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
  	  ;;
! 	arm-pe* | arm-*-wince)
    	  BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
  	  DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_ARM"
  	  BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
  	  ;;
! 	thumb-pe*)
    	  BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
  	  DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_ARM"
  	  BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
--- 235,246 ----
  	  DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_ARM_EPOC -DDLLTOOL_ARM"
  	  BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
  	  ;;
! 	arm-*-pe* | arm-*-wince)
    	  BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
  	  DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_ARM"
  	  BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
  	  ;;
! 	thumb-*-pe*)
    	  BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
  	  DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_ARM"
  	  BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
*************** changequote([,])dnl
*** 275,286 ****
  	  DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MIPS"
  	  BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
  	  ;;
! 	mcore-pe)
    	  BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
  	  DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MCORE"
  	  BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
  	  ;;
! 	mcore-*elf)
    	  BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
  	  DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MCORE_ELF"
  	  ;;
--- 275,286 ----
  	  DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MIPS"
  	  BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
  	  ;;
! 	mcore-*-pe)
    	  BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
  	  DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MCORE"
  	  BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
  	  ;;
! 	mcore-*-elf)
    	  BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
  	  DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MCORE_ELF"
  	  ;;


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