Changeset 7a524954 in rtems


Ignore:
Timestamp:
02/04/98 15:54:31 (26 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
b37137b
Parents:
e44e678
Message:

Change suggested by Ralf Corsepius:

I am not sure if this is related to this problem, but here is an observation:

All config.sub scripts from rtems' intrastructure packages internally
transform i386-rtems into i386-pc-rtems

newlib-1.8.0-rtems/config.sub i386-rtems --> i386-pc-rtems
egcs-1.0/config.sub i386-rtems ---> i386-pc-rtems
egcs-1.0.1/config.sub i386-rtems ---> i386-pc-rtems
bintutils-2.8.1.0.19/config.sub i386-rtems ---> i386-pc-rtems
gas-98xxxx/config.sub i386-rtems ---> i386-pc-rtems

The only exception is rtems itself:

rtems/config.sub i386-rtems ---> i386-rtems

I am not sure if this influences i386-rtems + c++/posix, but this indicates
that rtems' config.sub script should to be updated.
To fix this, simply copying config.sub e.g. from egcs and removing all
i[3456]-rtems* case statement lines from configure.in should be sufficient.

BTW, from autoconf's point of view i386-pc-rtems is the correct target
conforming autoconf's naming conventions, but using i386-rtems for all
packages (infrastructure and rtems) should make no difference.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • config.sub

    re44e678 r7a524954  
    11#! /bin/sh
    22# Configuration validation subroutine script, version 1.1.
    3 #   Copyright (C) 1991, 92, 93, 94, 95, 1996 Free Software Foundation, Inc.
     3#   Copyright (C) 1991, 92, 93, 94, 95, 96, 1997 Free Software Foundation, Inc.
    44# This file is (in principle) common to ALL GNU software.
    55# The presence of a machine in this file suggests that SOME GNU software
     
    3838# a failure to support a valid configuration from a meaningless
    3939# configuration.
    40 #
    41 #  $Id$
    42 #
    4340
    4441# The goal of this file is to map all the various variations of a given
     
    10299                basic_machine=$1
    103100                ;;
     101        -sim | -cisco | -oki | -wec | -winbond )        # CYGNUS LOCAL
     102                os=
     103                basic_machine=$1
     104                ;;
     105        -scout)                                         # CYGNUS LOCAL
     106                ;;
     107        -wrs)                                           # CYGNUS LOCAL
     108                os=vxworks
     109                basic_machine=$1
     110                ;;
    104111        -hiux*)
    105112                os=-hiuxwe2
     
    153160        # Recognize the basic CPU types without company name.
    154161        # Some are omitted here because they have special meanings below.
    155         tahoe | i860 | m68k | m68000 | m88k | ns32k | arm \
    156                 | arme[lb] | pyramid \
     162        tahoe | i860 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \
     163                | arme[lb] | pyramid | mn10200 | mn10300 \
    157164                | tron | a29k | 580 | i960 | h8300 | hppa | hppa1.0 | hppa1.1 \
    158                 | alpha | we32k | ns16k | clipper | i370 | sh \
    159                 | powerpc | powerpcle | 1750a | dsp16xx | mips64 | mipsel \
    160                 | pdp11 | mips64el | mips64orion | mips64orionel \
    161                 | sparc | sparclet | sparclite | sparc64 | no_cpu)
    162                 case $os in
    163                         -rtems*)
    164                                 ;;
    165                         *)
    166                                 basic_machine=$basic_machine-unknown
    167                                 ;;
    168                 esac
     165                | alpha | alphaev5 | alphaev56 | we32k | ns16k | clipper \
     166                | i370 | sh | powerpc | powerpcle | 1750a | dsp16xx | pdp11 \
     167                | mips64 | mipsel | mips64el | mips64orion | mips64orionel \
     168                | mipstx39 | mipstx39el \
     169                | sparc | sparclet | sparclite | sparc64 | v850)
     170                basic_machine=$basic_machine-unknown
     171                ;;
     172        m88110 | m680[01234]0 | m683?2 | m68360 | z8k | v70 | h8500 | w65) # CYGNUS LOCAL
     173                basic_machine=$basic_machine-unknown
     174                ;;
     175        mips64vr4300 | mips64vr4300el) # CYGNUS LOCAL jsmith/vr4300
     176                basic_machine=$basic_machine-unknown
     177                ;;
     178        mips64vr4100 | mips64vr4100el) # CYGNUS LOCAL jsmith/vr4100
     179                basic_machine=$basic_machine-unknown
     180                ;;
     181        mips64vr5000 | mips64vr5000el) # CYGNUS LOCAL ian/vr5000
     182                basic_machine=$basic_machine-unknown
     183                ;;
     184        mips16) # CYGNUS LOCAL krk/mips16
     185                basic_machine=$basic_machine-unknown
     186                ;;
     187        d10v)                           # CYGNUS LOCAL meissner/d10v
     188                basic_machine=$basic_machine-unknown
    169189                ;;
    170190        # We use `pc' rather than `unknown'
     
    172192        # (2) the word "unknown" tends to confuse beginning users.
    173193        i[3456]86)
    174                 case $os in
    175                         -rtems*)
    176                                 ;;
    177                         *)
    178                                 basic_machine=$basic_machine-pc
    179                                 ;;
    180                 esac
    181                 ;;
     194          basic_machine=$basic_machine-pc
     195          ;;
    182196        # Object if more than one company name word.
    183197        *-*-*)
     
    186200                ;;
    187201        # Recognize the basic CPU types with company name.
    188         vax-* | tahoe-* | i[3456]86-* | i860-* | m68k-* | m68000-* | m88k-* \
    189               | sparc-* | ns32k-* | fx80-* | arm-* | c[123]* \
    190               | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* | power-* \
    191               | none-* | 580-* | cray2-* | h8300-* | i960-* | xmp-* | ymp-* \
    192               | hppa-* | hppa1.0-* | hppa1.1-* | alpha-* | we32k-* | cydra-* | ns16k-* \
    193               | pn-* | np1-* | xps100-* | clipper-* | orion-* | sparclite-* \
    194               | pdp11-* | sh-* | powerpc-* | powerpcle-* | sparc64-* | mips64-* | mipsel-* \
    195               | mips64el-* | mips64orion-* | mips64orionel-* | f301-*)
     202        vax-* | tahoe-* | i[3456]86-* | i860-* | m32r-* | m68k-* | m68000-* \
     203              | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \
     204              | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
     205              | power-* | none-* | 580-* | cray2-* | h8300-* | i960-* \
     206              | xmp-* | ymp-* | hppa-* | hppa1.0-* | hppa1.1-* \
     207              | alpha-* | alphaev5-* | alphaev56-* | we32k-* | cydra-* \
     208              | ns16k-* | pn-* | np1-* | xps100-* | clipper-* | orion-* \
     209              | sparclite-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
     210              | sparc64-* | mips64-* | mipsel-* \
     211              | mips64el-* | mips64orion-* | mips64orionel-* \
     212              | mipstx39-* | mipstx39el-* \
     213              | f301-*)
     214                ;;
     215        m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | h8500-* | d10v-*) # CYGNUS LOCAL
     216                ;;
     217        mips64vr4300-* | mips64vr4300el-*) # CYGNUS LOCAL jsmith/vr4300
     218                ;;
     219        mips64vr4100-* | mips64vr4100el-*) # CYGNUS LOCAL jsmith/vr4100
     220                ;;
     221        mips16-*) # CYGNUS LOCAL krk/mips16
    196222                ;;
    197223        # Recognize the various machine names and aliases which stand
    198224        # for a CPU type and a company and sometimes even an OS.
     225        386bsd)                                         # CYGNUS LOCAL
     226                basic_machine=i386-unknown
     227                os=-bsd
     228                ;;
    199229        3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
    200230                basic_machine=m68000-att
     
    202232        3b*)
    203233                basic_machine=we32k-att
     234                ;;
     235        a29khif)                                        # CYGNUS LOCAL
     236                basic_machine=a29k-amd
     237                os=-udi
     238                ;;
     239        adobe68k)                                       # CYGNUS LOCAL
     240                basic_machine=m68010-adobe
     241                os=-scout
    204242                ;;
    205243        alliant | fx80)
     
    220258                basic_machine=m68k-cbm
    221259                ;;
    222         amigados)
     260        amigaos | amigados)
    223261                basic_machine=m68k-cbm
    224                 os=-amigados
     262                os=-amigaos
    225263                ;;
    226264        amigaunix | amix)
     
    232270                os=-sysv
    233271                ;;
     272        apollo68bsd)                                    # CYGNUS LOCAL
     273                basic_machine=m68k-apollo
     274                os=-bsd
     275                ;;
    234276        aux)
    235277                basic_machine=m68k-apple
     
    308350                basic_machine=ns32k-encore
    309351                ;;
     352        es1800 | OSE68k | ose68k | ose | OSE)           # CYGNUS LOCAL
     353                basic_machine=m68k-ericsson
     354                os=-ose
     355                ;;
    310356        fx2800)
    311357                basic_machine=i860-alliant
     
    326372                os=-hms
    327373                ;;
     374        h8300xray)                                      # CYGNUS LOCAL
     375                basic_machine=h8300-hitachi
     376                os=-xray
     377                ;;
     378        h8500hms)                                       # CYGNUS LOCAL
     379                basic_machine=h8500-hitachi
     380                os=-hms
     381                ;;
    328382        harris)
    329383                basic_machine=m88k-harris
     
    341395                os=-hpux
    342396                ;;
     397        w89k-*)                                         # CYGNUS LOCAL
     398                basic_machine=hppa1.1-winbond
     399                os=-proelf
     400                ;;
     401        op50n-*)                                        # CYGNUS LOCAL
     402                basic_machine=hppa1.1-oki
     403                os=-proelf
     404                ;;
     405        op60c-*)                                        # CYGNUS LOCAL
     406                basic_machine=hppa1.1-oki
     407                os=-proelf
     408                ;;
     409        hppro)                                          # CYGNUS LOCAL
     410                basic_machine=hppa1.1-hp
     411                os=-proelf
     412                ;;
    343413        hp9k2[0-9][0-9] | hp9k31[0-9])
    344414                basic_machine=m68000-hp
     
    355425        hppa-next)
    356426                os=-nextstep3
     427                ;;
     428        hppaosf)                                        # CYGNUS LOCAL
     429                basic_machine=hppa1.1-hp
     430                os=-osf
    357431                ;;
    358432        i370-ibm* | ibm*)
     
    376450                basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
    377451                os=-solaris2
     452                ;;
     453        i386mach)                                       # CYGNUS LOCAL
     454                basic_machine=i386-mach
     455                os=-mach
     456                ;;
     457        i386-vsta | vsta)                               # CYGNUS LOCAL
     458                basic_machine=i386-unknown
     459                os=-vsta
     460                ;;
     461        i386-go32 | go32)                               # CYGNUS LOCAL
     462                basic_machine=i386-unknown
     463                os=-go32
    378464                ;;
    379465        iris | iris4d)
     
    405491                basic_machine=m68000-convergent
    406492                ;;
     493        mipsel*-linux*)
     494                basic_machine=mipsel-unknown
     495                os=-linux-gnu
     496                ;;
     497        mips*-linux*)
     498                basic_machine=mips-unknown
     499                os=-linux-gnu
     500                ;;
    407501        mips3*-*)
    408502                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
     
    410504        mips3*)
    411505                basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
     506                ;;
     507        monitor)                                        # CYGNUS LOCAL
     508                basic_machine=m68k-rom68k
     509                os=-coff
     510                ;;
     511        msdos)                                          # CYGNUS LOCAL
     512                basic_machine=i386-unknown     
     513                os=-msdos
    412514                ;;
    413515        ncr3000)
     
    415517                os=-sysv4
    416518                ;;
     519        netbsd386)
     520                basic_machine=i386-unknown              # CYGNUS LOCAL
     521                os=-netbsd
     522                ;;
    417523        news | news700 | news800 | news900)
    418524                basic_machine=m68k-sony
     
    426532                basic_machine=mips-sony
    427533                os=-newsos
     534                ;;
     535        necv70)                                         # CYGNUS LOCAL
     536                basic_machine=v70-nec
     537                os=-sysv
    428538                ;;
    429539        next | m*-next )
     
    452562                os=-nindy
    453563                ;;
     564        mon960)                                         # CYGNUS LOCAL
     565                basic_machine=i960-intel
     566                os=-mon960
     567                ;;
    454568        np1)
    455569                basic_machine=np1-gould
     570                ;;
     571        OSE68000 | ose68000)                            # CYGNUS LOCAL
     572                basic_machine=m68000-ericsson
     573                os=-ose
     574                ;;
     575        os68k)                                          # CYGNUS LOCAL
     576                basic_machine=m68k-none
     577                os=-os68k
    456578                ;;
    457579        pa-hitachi)
     
    510632                basic_machine=i386-ibm
    511633                ;;
     634        rom68k)                                         # CYGNUS LOCAL
     635                basic_machine=m68k-rom68k
     636                os=-coff
     637                ;;
    512638        rm[46]00)
    513639                basic_machine=mips-siemens
     
    515641        rtpc | rtpc-*)
    516642                basic_machine=romp-ibm
     643                ;;
     644        sa29200)                                        # CYGNUS LOCAL
     645                basic_machine=a29k-amd
     646                os=-udi
    517647                ;;
    518648        sequent)
     
    523653                os=-hms
    524654                ;;
     655        sparclite-wrs)                                  # CYGNUS LOCAL
     656                basic_machine=sparclite-wrs
     657                os=-vxworks
     658                ;;
    525659        sps7)
    526660                basic_machine=m68k-bull
     
    530664                basic_machine=spur-unknown
    531665                ;;
     666        st2000)                                         # CYGNUS LOCAL
     667                basic_machine=m68k-tandem
     668                ;;
     669        stratus)                                        # CYGNUS LOCAL
     670                basic_machine=i860-stratus
     671                os=-sysv4
     672                ;;
    532673        sun2)
    533674                basic_machine=m68000-sun
     
    574715                os=-dynix
    575716                ;;
     717        tx39)
     718                basic_machine=mipstx39-unknown
     719                ;;
     720        tx39el)
     721                basic_machine=mipstx39el-unknown
     722                ;;
    576723        tower | tower-32)
    577724                basic_machine=m68k-ncr
     
    585732                os=-sym1
    586733                ;;
     734        v810 | necv810)                                 # CYGNUS LOCAL
     735                basic_machine=v810-nec
     736                os=-none
     737                ;;
    587738        vaxv)
    588739                basic_machine=vax-dec
     
    593744                os=-vms
    594745                ;;
    595        vpp*|vx|vx-*)
     746        vpp*|vx|vx-*)
    596747               basic_machine=f301-fujitsu
    597748               ;;
     
    608759                os=-vxworks
    609760                ;;
     761        w65*)                                           # CYGNUS LOCAL
     762                basic_machine=w65-wdc
     763                os=-none
     764                ;;
    610765        xmp)
    611766                basic_machine=xmp-cray
     
    615770                basic_machine=xps100-honeywell
    616771                ;;
     772        z8k-*-coff)                                     # CYGNUS LOCAL
     773                basic_machine=z8k-unknown
     774                os=-sim
     775                ;;
    617776        none)
    618777                basic_machine=none-none
     
    622781# Here we handle the default manufacturer of certain CPU types.  It is in
    623782# some cases the only manufacturer, in others, it is the most popular.
     783        w89k)                                           # CYGNUS LOCAL
     784                basic_machine=hppa1.1-winbond
     785                ;;
     786        op50n)                                          # CYGNUS LOCAL
     787                basic_machine=hppa1.1-oki
     788                ;;
     789        op60c)                                          # CYGNUS LOCAL
     790                basic_machine=hppa1.1-oki
     791                ;;
    624792        mips)
    625                 basic_machine=mips-mips
     793                if [ x$os = x-linux-gnu ]; then
     794                        basic_machine=mips-unknown
     795                else
     796                        basic_machine=mips-mips
     797                fi
    626798                ;;
    627799        romp)
     
    651823        orion105)
    652824                basic_machine=clipper-highlevel
     825                ;;
     826        mac | mpw | mac-mpw)                            # CYGNUS LOCAL
     827                basic_machine=m68k-apple
     828                ;;
     829        pmac | pmac-mpw)                                # CYGNUS LOCAL
     830                basic_machine=powerpc-apple
    653831                ;;
    654832        *)
     
    697875              | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
    698876              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
    699               | -amigados* | -msdos* | -newsos* | -unicos* | -aof* | -aos* \
     877              | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
     878              | -aos* \
    700879              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
    701880              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
     
    705884              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
    706885              | -cygwin32* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
    707               | -linux-gnu* | -uxpv*)
     886              | -mingw32* | -linux-gnu* | -uxpv*)
    708887        # Remember, each alternative MUST END IN *, to match a version number.
    709888                ;;
     889        # CYGNUS LOCAL
     890        -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
     891              | -windows* | -osx | -abug |  -netware* | -os9* | -beos* \
     892              | -macos* | -mpw* | -magic* | -mon960* | -lnews* )
     893                ;;
     894        -mac*)
     895                os=`echo $os | sed -e 's|mac|macos|'`
     896                ;;
     897        # END CYGNUS LOCAL
    710898        -linux*)
    711899                os=`echo $os | sed -e 's|linux|linux-gnu|'`
     
    731919        -acis*)
    732920                os=-aos
     921                ;;
     922        -386bsd)                                        # CYGNUS LOCAL
     923                os=-bsd
    733924                ;;
    734925        -ctix* | -uts*)
     
    762953        # This must come after -sysvr4.
    763954        -sysv*)
     955                ;;
     956        -ose*)                                          # CYGNUS LOCAL
     957                os=-ose
     958                ;;
     959        -es1800*)                                       # CYGNUS LOCAL
     960                os=-ose
    764961                ;;
    765962        -xenix)
     
    8121009                # os=-sunos4
    8131010                ;;
     1011        m68*-cisco)                                     # CYGNUS LOCAL
     1012                os=-aout
     1013                ;;
     1014        mips*-cisco)                                    # CYGNUS LOCAL
     1015                os=-elf
     1016                ;;
     1017        mips*-*)                                        # CYGNUS LOCAL
     1018                os=-elf
     1019                ;;
    8141020        *-tti)  # must be before sparc entry or we get the wrong os.
    8151021                os=-sysv3
     
    8181024                os=-sunos4.1.1
    8191025                ;;
     1026        *-be)                                           # CYGNUS LOCAL
     1027                os=-beos
     1028                ;;
    8201029        *-ibm)
    8211030                os=-aix
    8221031                ;;
     1032        *-wec)                                          # CYGNUS LOCAL
     1033                os=-proelf
     1034                ;;
     1035        *-winbond)                                      # CYGNUS LOCAL
     1036                os=-proelf
     1037                ;;
     1038        *-oki)                                          # CYGNUS LOCAL
     1039                os=-proelf
     1040                ;;
    8231041        *-hp)
    8241042                os=-hpux
     
    8311049                ;;
    8321050        *-cbm)
    833                 os=-amigados
     1051                os=-amigaos
    8341052                ;;
    8351053        *-dg)
     
    8831101        f301-fujitsu)
    8841102                os=-uxpv
     1103                ;;
     1104        *-rom68k)                                       # CYGNUS LOCAL
     1105                os=-coff
     1106                ;;
     1107        *-*bug)                                         # CYGNUS LOCAL
     1108                os=-coff
     1109                ;;
     1110        *-apple)                                        # CYGNUS LOCAL
     1111                os=-macos
    8851112                ;;
    8861113        *)
     
    9051132                                vendor=ibm
    9061133                                ;;
     1134                        -beos*)                                         # CYGNUS LOCAL
     1135                                vendor=be
     1136                                ;;
    9071137                        -hpux*)
    9081138                                vendor=hp
     
    9351165                                vendor=apple
    9361166                                ;;
     1167                        -hms*)                          # CYGNUS LOCAL
     1168                                vendor=hitachi
     1169                                ;;
     1170                        -mpw* | -macos*)                # CYGNUS LOCAL
     1171                                vendor=apple
     1172                                ;;
    9371173                esac
    9381174                basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
  • configure.in

    re44e678 r7a524954  
    135135        skip_startfiles="yes"
    136136        RTEMS_HAS_POSIX_API=no
    137         ;;
    138   i[[3456]]86-rtems*)
    139         target_cpu=i386
    140137        ;;
    141138  i[[3456]]86-pc-linux*)         # unix "simulator" port
Note: See TracChangeset for help on using the changeset viewer.