Danny Backx wrote:
On Fri, 2007-12-14 at 00:02 +0100, Danny Backx wrote:
On Thu, 2007-12-13 at 22:34 +0000, Pedro Alves wrote:
It's independant. The work to do this is really pretty much
mechanic, and can be done in one go, no need to do it stepwise.
Its just a matter of going throught the various config* files
and replacing -wince- with -*-. Like this for example:
http://sourceware.org/ml/binutils/2007-12/msg00051.html
I'm working on it.
This appears to be more messy than expected.
I guess you're stumbling on things like arm_wince_pe_little_vec,
and "pe-arm-wince" ? These should stay.
Is the idea that all of the places where arm-wince is present get
changed into arm-unknown ? I've run into trouble inside binutils
already. Changing just the configuration stuff is not enough, unless I
did something wrong.
I've checked in the attached. It is enough for binutils.
Tested by building with --target=arm-mingw32ce.
What's not
done is the adapting the testsuite -- something I had not done
either when introducing arm-wince-mingw32ce and
arm-wince-cegcc. I currently run it with a build for arm-wince-pe
as a workaround. (Actually it seems I haven't done it for more
than a year. Outch!
--
Pedro Alves
Index: bfd/ChangeLog.ce
===================================================================
--- bfd/ChangeLog.ce (revisão 0)
+++ bfd/ChangeLog.ce (revisão 0)
@@ -0,0 +1,3 @@
+2007-12-17 Pedro Alves <[EMAIL PROTECTED]>
+
+ * config.bfd: Add arm-*-mingw32ce* target.
Index: bfd/config.bfd
===================================================================
--- bfd/config.bfd (revisão 1089)
+++ bfd/config.bfd (cópia de trabalho)
@@ -224,7 +224,7 @@
targ_underscore=no
targ_cflags=-DARM_COFF_BUGFIX
;;
- arm-wince-* | arm-*-wince)
+ arm-wince-* | arm-*-wince | arm-*-mingw32ce*)
targ_defvec=arm_wince_pe_little_vec
targ_selvecs="arm_wince_pe_little_vec arm_wince_pe_big_vec arm_wince_pei_little_vec arm_wince_pei_big_vec"
targ_underscore=no
Index: gas/ChangeLog.ce
===================================================================
--- gas/ChangeLog.ce (revisão 1089)
+++ gas/ChangeLog.ce (cópia de trabalho)
@@ -1,3 +1,7 @@
+2007-12-17 Pedro Alves <[EMAIL PROTECTED]>
+
+ * configure.tgt: Add arm-*-mingw32ce* target.
+
2006-10-31 Pedro Alves <[EMAIL PROTECTED]>
* config/te-wince-pe-h (CPU_DEFAULT): Define to ARM_ARCH_V4.
Index: gas/configure.tgt
===================================================================
--- gas/configure.tgt (revisão 1089)
+++ gas/configure.tgt (cópia de trabalho)
@@ -116,7 +116,8 @@
arm-*-*n*bsd*) fmt=aout em=nbsd ;;
arm-*-nto*) fmt=elf ;;
arm-epoc-pe | thumb-epoc-pe) fmt=coff em=epoc-pe ;;
- arm-wince-* | arm-*-wince) fmt=coff em=wince-pe ;;
+ arm-wince-* | arm-*-wince | arm-*-mingw32ce*)
+ fmt=coff em=wince-pe ;;
arm-*-pe | thumb-*-pe) fmt=coff em=pe ;;
arm-*-riscix*) fmt=aout em=riscix ;;
Index: ld/ChangeLog.ce
===================================================================
--- ld/ChangeLog.ce (revisão 1089)
+++ ld/ChangeLog.ce (cópia de trabalho)
@@ -1,3 +1,7 @@
+2007-12-17 Pedro Alves <[EMAIL PROTECTED]>
+
+ * configure.tgt: Add arm-*-mingw32ce* target.
+
2006-11-27 Pedro Alves <[EMAIL PROTECTED]>
* pe-dll.c (autofilter_objlist) : Add crt3.o and dllcrt3.o.
Index: ld/configure.tgt
===================================================================
--- ld/configure.tgt (revisão 1089)
+++ ld/configure.tgt (cópia de trabalho)
@@ -37,7 +37,8 @@
arc-*-elf*) targ_emul=arcelf
;;
arm-epoc-pe) targ_emul=arm_epoc_pe ; targ_extra_ofiles="deffilep.o pe-dll.o" ;;
-arm-wince-* | arm-*-wince) targ_emul=arm_wince_pe ; targ_extra_ofiles="deffilep.o pe-dll.o" ;;
+arm-wince-* | arm-*-wince | arm-*-mingw32ce*)
+ targ_emul=arm_wince_pe ; targ_extra_ofiles="deffilep.o pe-dll.o" ;;
arm-*-pe) targ_emul=armpe ; targ_extra_ofiles="deffilep.o pe-dll.o" ;;
arm-*-aout | armel-*-aout) targ_emul=armaoutl ;;
armeb-*-aout) targ_emul=armaoutb ;;
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel