diff options
author | Ken Raeburn <raeburn@cygnus> | 1992-10-09 01:44:03 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1992-10-09 01:44:03 +0000 |
commit | 23ab00aadf1a31461022d12294e6ec6f7404e0ba (patch) | |
tree | adc2e2e50eaf04ddfaf8bf3baf5ee401fa022ee1 /config.sub | |
parent | 214f8f2392b9c23f589ca2346e30faff01d8e09f (diff) | |
download | gdb-23ab00aadf1a31461022d12294e6ec6f7404e0ba.zip gdb-23ab00aadf1a31461022d12294e6ec6f7404e0ba.tar.gz gdb-23ab00aadf1a31461022d12294e6ec6f7404e0ba.tar.bz2 |
* config.sub: Complain if no argument is given. Added support for 386bsd as OS
and target alias.
Diffstat (limited to 'config.sub')
-rwxr-xr-x | config.sub | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -35,6 +35,15 @@ # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # it is wrong to echo any other type of specification +if [ x$1 = x ] +then + echo Configuration name missing. 1>&2 + echo "Usage: $0 CPU-MFR-OPSYS" 1>&2 + echo "or $0 ALIAS" 1>&2 + echo where ALIAS is a recognized configuration type. 1>&2 + exit 1 +fi + # First pass through any local machine types. case $1 in *local*) @@ -192,6 +201,10 @@ case $basic_machine in basic_machine=i486-unknown os=-sysv ;; + 386bsd) + basic_machine=i386-unknown + os=-bsd + ;; spur) basic_machine=spur-unknown ;; @@ -618,6 +631,9 @@ case $os in -aos*) os=-bsd ;; + -386bsd) + os=-bsd + ;; -ctix* | -uts*) os=-sysv ;; |