This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Add top level configure support for WinCE format.
- To: gcc-patches at gcc dot gnu dot org, binutils at sourceware dot cygnus dot com
- Subject: Add top level configure support for WinCE format.
- From: Nick Clifton <nickc at cygnus dot com>
- Date: Tue, 22 Feb 2000 15:13:04 -0800
Hi Guys,
I would like permisison to apply the following patch. It adds
support to the top level configure scripts for toolchains that
support Microsoft's WinCE format. In this particualr case this
means the SH, MIPS and ARM toolchains.
Note - this patch applies to the top level files in both the
EGCS and Sourceware repositories.
Cheers
Nick
2000-02-22 Nick Clifton <nickc@cygnus.com>
* configure.in: Add mips-pe, sh-pe and arm-wince-pe targets.
* config/mt-wince: new file: Makefile fragment for WinCE targets.
Index: configure.in
===================================================================
RCS file: /cvs/gcc/egcs/configure.in,v
retrieving revision 1.44
diff -p -r1.44 configure.in
*** configure.in 2000/01/13 01:00:59 1.44
--- configure.in 2000/02/22 23:07:24
*************** case "${target}" in
*** 343,348 ****
--- 343,351 ----
*-*-aix4.[3456789]* | *-*-aix[56789].*)
target_makefile_frag="${target_makefile_frag} config/mt-aix43"
;;
+ mips*-*-pe | sh*-*-pe | *arm-wince-pe)
+ target_makefile_frag="${target_makefile_frag} config/mt-wince"
+ ;;
esac
# If --enable-target-optspace always use -Os instead of -O2 to build
*************** case "${target}" in
*** 587,592 ****
--- 590,610 ----
;;
arc-*-*)
noconfigdirs="$noconfigdirs target-libgloss"
+ ;;
+ sh*-*-pe|mips*-*-pe|*arm-wince-pe)
+ noconfigdirs="$noconfigdirs target-libjava target-libffi target-zlib"
+ noconfigdirs="$noconfigdirs target-boehm-gc target-qthreads target-examples"
+ noconfigdirs="$noconfigdirs target-librx target-libiberty texinfo send-pr"
+ noconfigdirs="$noconfigdirs tcl tix tk itcl libgui sim"
+ noconfigdirs="$noconfigdirs expect dejagnu"
+ # the C++ libraries don't build on top of CE's C libraries
+ noconfigdirs="$noconfigdirs target-libg++ target-libstdc++ target-libio"
+ skipdirs="$skipdirs target-newlib"
+ case "${host}" in
+ *-*-cygwin*) ;; # keep gdb and readline
+ *) noconfigdirs="$noconfigdirs gdb readline target-libio target-libstdc++ target-libg++"
+ ;;
+ esac
;;
arm-*-pe*)
noconfigdirs="$noconfigdirs target-libgloss"
Index: config/mt-wince
===================================================================
RCS file: mt-wince
diff -N mt-wince
*** /dev/null Tue May 5 13:32:27 1998
--- mt-wince Tue Feb 22 15:07:24 2000
***************
*** 0 ****
--- 1,10 ----
+ # For Windows CE, we need to build the program that converts, copies,
+ # and renames the platform SDK files into gcc directories.
+
+ EXTRA_TARGET_HOST_ALL_MODULES:=$(EXTRA_TARGET_HOST_ALL_MODULES) all-utils
+ EXTRA_TARGET_HOST_INSTALL_MODULES:=$(EXTRA_TARGET_HOST_INSTALL_MODULES) install-utils
+
+ all-utils : all-libiberty
+
+ install-utils : all-libiberty
+