This is the mail archive of the gcc@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]

RE: What to do about macppc-unknown-netbsd...


> 	I would suggest teaching config.sub to canonicalize macppc-* as
> powerpc-*. I do not think it is appropriate or worth converting the
> *-unknown-* to *-apple-*.

2001-01-30  Bruce Korb  <bkorb@allegronetworks.com>

	config.sub(Decode aliases): new alias: macppc -> powerpc

$ diff -c config.sub~ config.sub
*** config.sub~ Mon Jan 29 18:40:45 2001
--- config.sub  Tue Jan 30 12:43:08 2001
***************
*** 174,179 ****
--- 174,181 ----
                | sparc | sparclet | sparclite | sparc64 | sparcv9 | v850 |
c4x)
                basic_machine=$basic_machine-unknown
                ;;
+       macppc ) basic_machine=powerpc-unknown
+               ;;
        m88110 | m680[012346]0 | m683?2 | m68360 | m5200 | z8k | v70 \
                | h8500 | w65) # EGCS LOCAL
                ;;
***************
*** 198,203 ****
--- 200,206 ----
        # We use `pc' rather than `unknown'
        # because (1) that's what they normally are, and
        # (2) the word "unknown" tends to confuse beginning users.
+       # (3) it is a malapropos for `NA' (not applicable) or unimportant
        i[34567]86)
          basic_machine=$basic_machine-pc
          ;;
***************
*** 223,228 ****
--- 226,233 ----
              | mipstx39-* | mipstx39el-* \
              | f301-* | arm*-*)
                ;;
+       macppc-* ) basic_machine=`echo $basic_machine|sed
's/macppc/powerpc/'`
+               ;;
        m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | h8500-* |
d10v-*) # EGCS LOCAL
                ;;
        thumb-*) # EGCS LOCAL angela/thumb

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