Hey,

right now, automake supports only the mingw32ce compiler that the cegcc project provides. That project also provides the cegcc compiler, which is not supported right now.

I've attached a patch that add cegcc in $basic_machine and in $os in the config.sub file. I also put it inline.

best regards

Vincent Torri


====== beginning ========

diff --git a/ChangeLog b/ChangeLog
index e134e4a..d212cae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-04-12  Vincent Torri  <vtorri at univ-evry dot fr>
+
+       Add cegcc support
+       * lib/config.sub: add cegcc in $basic_machine and in $os
+
 2008-04-10  Eric Blake  <[EMAIL PROTECTED]>

        Prefer a released version of autoconf.
diff --git a/lib/config.sub b/lib/config.sub
old mode 100755
new mode 100644
index 0f295d9..e711561
--- a/lib/config.sub
+++ b/lib/config.sub
@@ -4,7 +4,7 @@
 #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
 #   Free Software Foundation, Inc.

-timestamp='2008-03-08'
+timestamp='2008-04-12'

 # This file is (in principle) common to ALL GNU software.
 # The presence of a machine in this file suggests that SOME GNU software
@@ -711,6 +711,10 @@ case $basic_machine in
                basic_machine=arm-unknown
                os=-mingw32ce
                ;;
+       cegcc)
+               basic_machine=arm-unknown
+               os=-cegcc
+               ;;
        miniframe)
                basic_machine=m68000-convergent
                ;;
@@ -1254,7 +1258,8 @@ case $os in
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
              | -chorusos* | -chorusrdb* \
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
-             | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
+             | -mingw32* | -cegcc* \
+             | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
              | -uxpv* | -beos* | -mpeix* | -udk* \
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \

====== end ========
diff --git a/ChangeLog b/ChangeLog
index e134e4a..d212cae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-04-12  Vincent Torri  <vtorri at univ-evry dot fr>
+
+       Add cegcc support
+       * lib/config.sub: add cegcc in $basic_machine and in $os
+
 2008-04-10  Eric Blake  <[EMAIL PROTECTED]>
 
        Prefer a released version of autoconf.
diff --git a/lib/config.sub b/lib/config.sub
old mode 100755
new mode 100644
index 0f295d9..e711561
--- a/lib/config.sub
+++ b/lib/config.sub
@@ -4,7 +4,7 @@
 #   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
 #   Free Software Foundation, Inc.
 
-timestamp='2008-03-08'
+timestamp='2008-04-12'
 
 # This file is (in principle) common to ALL GNU software.
 # The presence of a machine in this file suggests that SOME GNU software
@@ -711,6 +711,10 @@ case $basic_machine in
                basic_machine=arm-unknown
                os=-mingw32ce
                ;;
+       cegcc)
+               basic_machine=arm-unknown
+               os=-cegcc
+               ;;
        miniframe)
                basic_machine=m68000-convergent
                ;;
@@ -1254,7 +1258,8 @@ case $os in
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
              | -chorusos* | -chorusrdb* \
              | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
-             | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
+             | -mingw32* | -cegcc* \
+             | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
              | -uxpv* | -beos* | -mpeix* | -udk* \
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \

Reply via email to