* config.sub, configure.in, config.guess: Add support
[deliverable/binutils-gdb.git] / config.sub
1 #!/bin/sh
2 # Configuration validation subroutine script, version 1.1.
3 # Copyright (C) 1991, 1992 Free Software Foundation, Inc.
4 # This file is (in principle) common to ALL GNU software.
5 # The presence of a machine in this file suggests that SOME GNU software
6 # can handle that machine. It does not imply ALL GNU software can.
7
8 #This file is free software; you can redistribute it and/or modify
9 #it under the terms of the GNU General Public License as published by
10 #the Free Software Foundation; either version 2 of the License, or
11 #(at your option) any later version.
12
13 #This program is distributed in the hope that it will be useful,
14 #but WITHOUT ANY WARRANTY; without even the implied warranty of
15 #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 #GNU General Public License for more details.
17
18 #You should have received a copy of the GNU General Public License
19 #along with this program; if not, write to the Free Software
20 #Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21
22
23 # Configuration subroutine to validate and canonicalize a configuration type.
24 # Supply the specified configuration type as an argument.
25 # If it is invalid, we print an error message on stderr and exit with code 1.
26 # Otherwise, we print the canonical config type on stdout and succeed.
27
28 # This file is supposed to be the same for all GNU packages
29 # and recognize all the CPU types, system types and aliases
30 # that are meaningful with *any* GNU software.
31 # Each package is responsible for reporting which valid configurations
32 # it does not support. The user should be able to distinguish
33 # a failure to support a valid configuration from a meaningless
34 # configuration.
35
36 # The goal of this file is to map all the various variations of a given
37 # machine specification into a single specification in the form:
38 # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
39 # It is wrong to echo any other type of specification.
40
41 if [ x$1 = x ]
42 then
43 echo Configuration name missing. 1>&2
44 echo "Usage: $0 CPU-MFR-OPSYS" 1>&2
45 echo "or $0 ALIAS" 1>&2
46 echo where ALIAS is a recognized configuration type. 1>&2
47 exit 1
48 fi
49
50 # First pass through any local machine types.
51 case $1 in
52 *local*)
53 echo $1
54 exit 0
55 ;;
56 *)
57 ;;
58 esac
59
60 # Separate what the user gave into CPU-COMPANY and OS (if any).
61 basic_machine=`echo $1 | sed 's/-[^-]*$//'`
62 if [ $basic_machine != $1 ]
63 then os=`echo $1 | sed 's/.*-/-/'`
64 else os=; fi
65
66 ### Let's recognize common machines as not being operating systems so
67 ### that things like config.sub decstation-3100 work. We also
68 ### recognize some manufacturers as not being operatin systems, so we
69 ### can provide default operating systems below.
70 case $os in
71 -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \
72 -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \
73 -unicom* | -ibm* | -next* | -hp | -isi* | -apollo | -altos* | \
74 -convergent* | -ncr* | -news | -32* | -3600* | -3100* | \
75 -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
76 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
77 -sim) # CYGNUS LOCAL
78 os=
79 basic_machine=$1
80 ;;
81 -scout) # CYGNUS LOCAL
82 ;;
83 -wrs)
84 os=vxworks
85 basic_machine=$1
86 ;;
87 -sco3.2v[4-9]*)
88 # Don't forget version if it is 3.2v4 or newer.
89 os=-sco3.2v4
90 basic_machine=i386-unknown
91 ;;
92 -sco*)
93 os=-sco3.2v2
94 basic_machine=i386-unknown
95 ;;
96 -isc)
97 os=-isc2.2
98 basic_machine=i386-unknown
99 ;;
100 -isc*)
101 os=-isc
102 basic_machine=i386-unknown
103 ;;
104 # start-sanitize-v9
105 -32) # CYGNUS LOCAL
106 basic_machine=sparc64-hal
107 os=-hal32
108 ;;
109 -64) # CYGNUS LOCAL
110 basic_machine=sparc64-hal
111 os=-hal64
112 ;;
113 -v7) # CYGNUS LOCAL
114 basic_machine=sparc64-sun
115 os=-v7
116 ;;
117 # end-sanitize-v9
118 esac
119
120 # Decode aliases for certain CPU-COMPANY combinations.
121 case $basic_machine in
122 # Recognize the basic CPU types with without company name.
123 # Some are omitted here because they have special meanings below.
124 tahoe | i[34]86 | i860 | m68k | m68000 | m88k | ns32k | arm | pyramid \
125 | tron | a29k | 580 | i960 | h8300 | hppa1.0 | hppa1.1 \
126 | alpha | we32k | ns16k | clipper \
127 | sparc | m680[01234]0 | m683?2 | z8k | v70 | h8500)# CYGNUS LOCAL
128 basic_machine=$basic_machine-unknown
129 ;;
130 # Recognize the basic CPU types with with company name.
131 vax-* | tahoe-* | i[34]86-* | i860-* | m68k-* | m68000-* | m88k-* \
132 | sparc-* | ns32k-* | fx80-* | arm-* | c[123]* \
133 | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \
134 | none-* | 580-* | cray2-* | h8300-* | i960-* | xmp-* | ymp-* \
135 | hppa1.0-* | hppa1.1-* | alpha-* | we32k-* | cydra-* | ns16k-* \
136 | pn-* | np1-* | xps100-* | clipper-* | orion-* \
137 | m680[01234]0-* | m683?2-* | z8k-*) # CYGNUS LOCAL
138 ;;
139 # Recognize the various machine names and aliases which stand
140 # for a CPU type and a company and sometimes even an OS.
141 # start-sanitize-v9
142 sparc64-*) ;; # CYGNUS LOCAL
143 hal-32 | hal32) # CYGNUS LOCAL
144 basic_machine=sparc64-hal
145 os=-hal32
146 ;;
147 hal-64 | hal64) # CYGNUS LOCAL
148 basic_machine=sparc64-hal
149 os=-hal64
150 ;;
151 sparc64) # CYGNUS LOCAL
152 basic_machine=sparc64-sun
153 os=-v9 # 32 bit pointers
154 ;;
155 sparc64-v7 | sparc64v7) # CYGNUS LOCAL
156 basic_machine=sparc64-sun
157 os=-v7
158 ;;
159 # end-sanitize-v9
160
161 dpx20 | dpx20-*) # CYGNUS LOCAL
162 basic_machine=rs6000-bull
163 os=-bosx
164 ;;
165 vaxv)
166 basic_machine=vax-dec
167 os=-sysv
168 ;;
169 vms)
170 basic_machine=vax-dec
171 os=-vms
172 ;;
173 i386mach) # CYGNUS LOCAL
174 basic_machine=i386-mach
175 os=-mach
176 ;;
177 i386v32)
178 basic_machine=i386-unknown
179 os=-sysv32
180 ;;
181 i386-sco* | i386sco | sco)
182 basic_machine=i386-unknown
183 os=-sco3.2v2
184 ;;
185 go32 | i386-go32) # CYGNUS LOCAL
186 basic_machine=i386-unknown
187 os=-go32
188 ;;
189 i386-isc* | isc)
190 basic_machine=i386-unknown
191 os=-isc
192 ;;
193 i386-linux* | linux) # CYGNUS LOCAL
194 basic_machine=i386-unknown
195 os=-linux
196 ;;
197 i486v32)
198 basic_machine=i486-unknown
199 os=-sysv32
200 ;;
201 i486-sco* | i486sco | sco)
202 basic_machine=i486-unknown
203 os=-sco3.2v2
204 ;;
205 i486-isc* | isc)
206 basic_machine=i486-unknown
207 os=-isc
208 ;;
209 i386sol2) # CYGNUS LOCAL
210 basic_machine=i386-unknown
211 os=-solaris2
212 ;;
213 i486sol2) # CYGNUS LOCAL
214 basic_machine=i486-unknown
215 os=-solaris2
216 ;;
217 i386v4*)
218 basic_machine=i386-unknown
219 os=-sysv4
220 ;;
221 i486v4*)
222 basic_machine=i486-unknown
223 os=-sysv4
224 ;;
225 i386v)
226 basic_machine=i386-unknown
227 os=-sysv
228 ;;
229 i486v)
230 basic_machine=i486-unknown
231 os=-sysv
232 ;;
233 386bsd) # CYGNUS LOCAL
234 basic_machine=i386-unknown
235 os=-bsd
236 ;;
237 spur)
238 basic_machine=spur-unknown
239 ;;
240 alliant | fx80)
241 basic_machine=fx80-alliant
242 ;;
243 convex-c1)
244 basic_machine=c1-convex
245 os=-bsd
246 ;;
247 convex-c2)
248 basic_machine=c2-convex
249 os=-bsd
250 ;;
251 convex-c32)
252 basic_machine=c32-convex
253 os=-bsd
254 ;;
255 convex-c34)
256 basic_machine=c34-convex
257 os=-bsd
258 ;;
259 convex-c38)
260 basic_machine=c38-convex
261 os=-bsd
262 ;;
263 m88k-omron*)
264 basic_machine=m88k-omron
265 ;;
266 merlin)
267 basic_machine=ns32k-utek
268 os=-sysv
269 ;;
270 crds | unos)
271 basic_machine=m68k-crds
272 ;;
273 elxsi)
274 basic_machine=elxsi-elxsi
275 os=-bsd
276 ;;
277 encore | umax | mmax)
278 basic_machine=ns32k-encore
279 ;;
280 genix)
281 basic_machine=ns32k-ns
282 ;;
283 iris | iris4d | \
284 iris3 | iris4) # CYGNUS LOCAL
285 basic_machine=mips-sgi
286 case $os in
287 -irix*)
288 ;;
289 *)
290 os=-irix4
291 ;;
292 esac
293 ;;
294 news | news700 | news800 | news900)
295 basic_machine=m68k-sony
296 os=-newsos
297 ;;
298 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc)
299 basic_machine=m68000-att
300 ;;
301 3b*)
302 basic_machine=we32k-att
303 ;;
304 delta | 3300 | motorola-3300 | motorola-delta \
305 | 3300-motorola | delta-motorola)
306 basic_machine=m68k-motorola
307 ;;
308 balance)
309 basic_machine=ns32k-sequent
310 os=-dynix
311 ;;
312 pc532)
313 basic_machine=ns32k-pc532
314 ;;
315 symmetry)
316 basic_machine=i386-sequent
317 os=-dynix
318 ;;
319 sun2)
320 basic_machine=m68000-sun
321 ;;
322 sun2os3)
323 basic_machine=m68000-sun
324 os=-sunos3
325 ;;
326 sun2os4)
327 basic_machine=m68000-sun
328 os=-sunos4
329 ;;
330 sun3os3)
331 basic_machine=m68k-sun
332 os=-sunos3
333 ;;
334 sun3os4)
335 basic_machine=m68k-sun
336 os=-sunos4
337 ;;
338 sun4os3)
339 basic_machine=sparc-sun
340 os=-sunos3
341 ;;
342 sun4os4)
343 basic_machine=sparc-sun
344 os=-sunos4
345 ;;
346 sun4sol2) # CYGNUS LOCAL
347 basic_machine=sparc-sun
348 os=-solaris2
349 ;;
350 z8ksim) # CYGNUS LOCAL
351 basic_machine=z8k-unknown
352 os=-sim
353 ;;
354 sun3)
355 basic_machine=m68k-sun
356 ;;
357 sun4)
358 basic_machine=sparc-sun
359 ;;
360 msdos) # CYGNUS LOCAL
361 basic_machine=i386-unknown
362 os=-msdos
363 ;;
364 pbd)
365 basic_machine=sparc-tti
366 ;;
367 pbb)
368 basic_machine=m68k-tti
369 ;;
370 sun386 | sun386i | roadrunner)
371 basic_machine=i386-sun
372 ;;
373 ps2)
374 basic_machine=i386-ibm
375 ;;
376 fx2800)
377 basic_machine=i860-alliant
378 ;;
379 next)
380 basic_machine=m68k-next
381 os=-bsd
382 ;;
383 amiga)
384 basic_machine=m68k-cbm
385 ;;
386 amigados)
387 basic_machine=m68k-cbm
388 os=-amigados
389 ;;
390 amigaunix | amix)
391 basic_machine=m68k-cbm
392 os=-sysv4
393 ;;
394 hp9k3[2-9][0-9])
395 basic_machine=m68k-hp
396 ;;
397 hp9k31[0-9] | hp9k2[0-9][0-9])
398 basic_machine=m68000-hp
399 ;;
400 hp9k7[0-9][0-9] | hp7[0-9][0-9] | hp9k8[0-9]7 | hp8[0-9]7)
401 basic_machine=hppa1.1-hp
402 ;;
403 hp9k8[0-9][0-9] | hp8[0-9][0-9])
404 basic_machine=hppa1.0-hp
405 ;;
406 isi68 | isi)
407 basic_machine=m68k-isi
408 os=-sysv
409 ;;
410 apollo68)
411 basic_machine=m68k-apollo
412 os=-sysv
413 ;;
414 apollo68bsd) # CYGNUS LOCAL
415 basic_machine=m68k-apollo
416 os=-bsd
417 ;;
418 altos | altos3068)
419 basic_machine=m68k-altos
420 ;;
421 miniframe)
422 basic_machine=m68000-convergent
423 ;;
424 tower | tower-32)
425 basic_machine=m68k-ncr
426 ;;
427 news-3600 | risc-news)
428 basic_machine=mips-sony
429 os=-newsos
430 ;;
431 st2000) # CYGNUS LOCAL
432 basic_machine=m68k-tandem
433 ;;
434 decstation | decstation-3100 | pmax | pmin | dec3100 | decstatn)
435 basic_machine=mips-dec
436 ;;
437 magnum | m3230)
438 basic_machine=mips-mips
439 os=-sysv
440 ;;
441 gmicro)
442 basic_machine=tron-gmicro
443 os=-sysv
444 ;;
445 rtpc | rtpc-*)
446 basic_machine=romp-ibm
447 ;;
448 am29k)
449 basic_machine=a29k-none
450 os=-bsd
451 ;;
452 amdahl)
453 basic_machine=580-amdahl
454 os=-sysv
455 ;;
456 stratus) # CYGNUS LOCAL
457 basic_machine=i860-stratus
458 os=-sysv4
459 ;;
460 cray | ymp)
461 basic_machine=ymp-cray
462 os=-unicos
463 ;;
464 cray2)
465 basic_machine=cray2-cray
466 os=-unicos
467 ;;
468 xmp)
469 basic_machine=xmp-cray
470 os=-unicos
471 ;;
472 delta88)
473 basic_machine=m88k-motorola
474 os=-m88kbcs
475 ;;
476 dpx2)
477 basic_machine=m68k-bull
478 os=-sysv
479 ;;
480 ebmon29k)
481 basic_machine=a29k-amd
482 os=-ebmon
483 ;;
484
485 h8300hms) # CYGNUS LOCAL
486 basic_machine=h8300-hitachi
487 os=-hms
488 ;;
489 h8300xray) # CYGNUS LOCAL
490 basic_machine=h8300-hitachi
491 os=-xray
492 ;;
493 h8300hds)
494 basic_machine=h8300-hitachi
495 os=-hds
496 ;;
497 udi29k) # CYGNUS LOCAL
498 basic_machine=a29k-amd
499 os=-udi
500 ;;
501 a29khif) # CYGNUS LOCAL
502 basic_machine=a29k-amd
503 os=-udi
504 ;;
505 sa29200) # CYGNUS LOCAL
506 basic_machine=a29k-amd
507 os=-udi
508 ;;
509 harris)
510 basic_machine=m88k-harris
511 os=-m88kbcs
512 ;;
513 hp300bsd)
514 basic_machine=m68k-hp
515 os=-bsd
516 ;;
517 hp300hpux)
518 basic_machine=m68k-hp
519 os=-hpux
520 ;;
521 hp9k2[0-9][0-9] | hp9k31[0-9])
522 basic_machine=m68000-hp
523 os=-hpux
524 ;;
525 hp9k3[2-9][0-9])
526 basic_machine=m68k-hp
527 os=-hpux
528 ;;
529 ncr3000)
530 basic_machine=i486-ncr
531 os=-sysv4
532 ;;
533 necv70) # CYGNUS LOCAL
534 basic_machine=v70-nec
535 os=-sysv
536 ;;
537 news1000)
538 basic_machine=m68030-sony
539 os=-newsos
540 ;;
541 nindy960)
542 basic_machine=i960-intel
543 os=-nindy
544 ;;
545 pn)
546 basic_machine=pn-gould
547 ;;
548 np1)
549 basic_machine=np1-gould
550 ;;
551 ultra3)
552 basic_machine=a29k-nyu
553 os=-sym1
554 ;;
555 vxworks960)
556 basic_machine=i960-wrs
557 os=-vxworks
558 ;;
559 vxworks68)
560 basic_machine=m68k-wrs
561 os=-vxworks
562 ;;
563 es1800 | OSE68k | ose68k | ose | OSE) # CYGNUS LOCAL
564 basic_machine=m68k-ericsson
565 os=-ose
566 ;;
567 OSE68000 | ose68000) # CYGNUS LOCAL
568 basic_machine=m68000-ericsson
569 os=-ose
570 ;;
571 os68k) # CYGNUS LOCAL
572 basic_machine=m68k-none
573 os=-os68k
574 ;;
575 sparclite) # CYGNUS LOCAL
576 basic_machine=sparclite-fujitsu
577 os=-none
578 ;;
579 sparclite-wrs) # CYGNUS LOCAL
580 basic_machine=sparclite-wrs
581 os=-vxworks
582 ;;
583 sparcfrw) # CYGNUS LOCAL
584 basic_machine=sparcfrw-sun
585 os=-sunos4
586 ;;
587 sparcfrwcompat) # CYGNUS LOCAL
588 basic_machine=sparcfrwcompat-sun
589 os=-sunos4
590 ;;
591 sparclitefrw) # CYGNUS LOCAL
592 basic_machine=sparclitefrw-fujitsu
593 os=-none
594 ;;
595 sparclitefrwcompat) # CYGNUS LOCAL
596 basic_machine=sparclitefrwcompat-fujitsu
597 os=-none
598 ;;
599 adobe68k) # CYGNUS LOCAL
600 basic_machine=m68010-adobe
601 os=-scout
602 ;;
603
604 xps | xps100)
605 basic_machine=xps100-honeywell
606 ;;
607 none)
608 basic_machine=none-none
609 os=-none
610 ;;
611
612 # Here we handle the default manufacturer of certain CPU types. It is in
613 # some cases the only manufacturer, in others, it is the most popular.
614 mips)
615 basic_machine=mips-mips
616 ;;
617 romp)
618 basic_machine=romp-ibm
619 ;;
620 rs6000)
621 basic_machine=rs6000-ibm
622 ;;
623 vax)
624 basic_machine=vax-dec
625 ;;
626 we32k)
627 basic_machine=we32k-att
628 ;;
629 cydra)
630 basic_machine=cydra-cydrome
631 ;;
632 orion)
633 basic_machine=orion-highlevel
634 ;;
635 orion105)
636 basic_machine=clipper-highlevel
637 ;;
638 *)
639 echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
640 exit 1
641 ;;
642 esac
643
644 # Here we canonicalize certain aliases for manufacturers.
645 case $basic_machine in
646 *-digital*)
647 basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`
648 ;;
649 *-commodore*)
650 basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`
651 ;;
652 *)
653 ;;
654 esac
655
656 # Decode manufacturer-specific aliases for certain operating systems.
657
658 if [ "$os" ]
659 then
660 case $os in
661 # First accept the basic system types.
662 # The portable systems comes first.
663 # Each alternative must end in a *, to match a version number.
664 -bsd* | -sysv* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
665 | -vms* | -sco* | -esix* | -isc* | -aix* | -sunos* | -hpux* \
666 | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
667 | -amigados* | -msdos* | -newsos* | -unicos* | -aos* \
668 | -nindy* | -vxworks* | -ebmon* | -hds* | -m88kbcs* \
669 | -riscos* | -linux* | -uniplus* | -iris* | -rtu* | -xenix* \
670 | -go32 | -sim | -es1800* | -udi | -hms* | -xray \
671 | -os68k* | -none* | -v88r* | -aout | -coff | -elf | -bosx* \
672 | -abug | -ecoff)
673 # The last three lines above are CYGNUS LOCAL
674 ;;
675 # start-sanitize-v9
676 -v7 | -v9 | -v9p64 | -hal32 | -hal64) ;; # CYGNUS LOCAL
677 # end-sanitize-v9
678
679 -osfrose*)
680 os=-osfrose
681 ;;
682 -osf*)
683 os=-osf
684 ;;
685 -utek*)
686 os=-bsd
687 ;;
688 -dynix*)
689 os=-bsd
690 ;;
691 -acis*)
692 os=-aos
693 ;;
694 -386bsd) # CYGNUS LOCAL
695 os=-bsd
696 ;;
697 -ctix* | -uts*)
698 os=-sysv
699 ;;
700 -triton*)
701 os=-sysv3
702 ;;
703 -oss*)
704 os=-sysv3
705 ;;
706 -svr4)
707 os=-sysv4
708 ;;
709 -svr3)
710 os=-sysv3
711 ;;
712 -ose*) # CYGNUS LOCAL
713 os=-ose
714 ;;
715 -es1800*) # CYGNUS LOCAL
716 os=-ose
717 ;;
718 -xenix)
719 os=-xenix
720 ;;
721 -none)
722 ;;
723 *)
724 # Get rid of the `-' at the beginning of $os.
725 os=`echo $1 | sed 's/[^-]*-//'`
726 echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2
727 exit 1
728 ;;
729 esac
730 else
731
732 # Here we handle the default operating systems that come with various machines.
733 # The value should be what the vendor currently ships out the door with their
734 # machine or put another way, the most popular os provided with the machine.
735
736 # Note that if you're going to try to match "-MANUFACTURER" here (say,
737 # "-sun"), then you have to tell the case statement up towards the top
738 # that MANUFACTURER isn't an operating system. Otherwise, code above
739 # will signal an error saying that MANUFACTURER isn't an operating
740 # system, and we'll never get to this point.
741
742 case $basic_machine in
743 *-dec | vax-*)
744 os=-ultrix4.2
745 ;;
746 i386-sun)
747 os=-sunos4.0.2
748 ;;
749 m68000-sun)
750 os=-sunos3
751 # This also exists in the configure program, but was not the
752 # default.
753 # os=-sunos4
754 ;;
755 *-tti) # must be before sparc entry or we get the wrong os.
756 os=-sysv3
757 ;;
758 sparc-* | *-sun)
759 os=-sunos4.1.1
760 ;;
761 *-ibm)
762 os=-aix
763 ;;
764 *-hp)
765 os=-hpux
766 ;;
767 i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)
768 os=-sysv
769 ;;
770 *-cbm)
771 os=-amigados
772 ;;
773 *-dg)
774 os=-dgux
775 ;;
776 *-dolphin)
777 os=-sysv3
778 ;;
779 m88k-omron*)
780 os=-luna
781 ;;
782 *-sequent)
783 os=-bsd
784 ;;
785 *-crds)
786 os=-unos
787 ;;
788 *-ns)
789 os=-genix
790 ;;
791 i[34]86-*)
792 os=-sco3.2v2
793 ;;
794 *-gould)
795 os=-sysv
796 ;;
797 *-highlevel)
798 os=-bsd
799 ;;
800 *-encore)
801 os=-bsd
802 ;;
803 *-sgi)
804 os=-irix
805 ;;
806 *-masscomp)
807 os=-rtu
808 ;;
809 *)
810 os=-none
811 ;;
812 esac
813 fi
814
815 # Here we handle the case where we know the os, and the CPU type, but not the
816 # manufacturer. We pick the logical manufacturer.
817 vendor=unknown
818 case $basic_machine in
819 *-unknown)
820 case $os in
821 -sunos*)
822 vendor=sun
823 ;;
824 -bosx*)
825 vendor=bull
826 ;;
827 -aix*)
828 vendor=ibm
829 ;;
830 -hpux*)
831 vendor=hp
832 ;;
833 -unos*)
834 vendor=crds
835 ;;
836 -dgux*)
837 vendor=dg
838 ;;
839 -luna*)
840 vendor=omron
841 ;;
842 -genix*)
843 vendor=ns
844 ;;
845 -vxworks*) # CYGNUS LOCAL
846 vendor=wrs
847 ;;
848 esac
849 basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"`
850 ;;
851 esac
852
853 echo $basic_machine$os
This page took 0.047897 seconds and 4 git commands to generate.