]> Git Repo - binutils.git/blame - gas/configure.in
Better error reporting on missing local labels.
[binutils.git] / gas / configure.in
CommitLineData
fecd2382
RP
1# This file is a shell script that supplies the information necessary
2# to tailor a template configure script into the configure script
3# appropriate for this directory. For more information, check any
4# existing configure script.
5
6srctrigger=as.c
7srcname="gas"
353deb84
RP
8targetdependent=true
9
10# per-host:
11
12# per-target:
fecd2382 13
74cc5508 14# assign cpu type
353deb84
RP
15emulation=generic
16
17case ${target} in
74cc5508
RP
18sun4* | sparc*)
19 cpu_type=sparc
20 ;;
21sun3*)
22 cpu_type=m68k
23 ;;
353deb84
RP
24i386*)
25 cpu_type=i386
26 ;;
74cc5508
RP
27i960*)
28 cpu_type=i960
353deb84 29 emulation=ic960
74cc5508
RP
30 ;;
31a29k*)
32 cpu_type=a29k
33 ;;
353deb84
RP
34m68k*)
35 cpu_type=m68k
36 ;;
74cc5508
RP
37*)
38 cpu_type=generic
39 ;;
40esac
41
42# assign object format
353deb84 43case ${target} in
fecd2382
RP
44*-coff)
45 obj_format=coff
46 ;;
47*-bout)
48 obj_format=bout
49 ;;
74cc5508
RP
50generic)
51 obj_format=generic
52 ;;
fecd2382
RP
53*)
54 obj_format=aout
55 ;;
56esac
57
74cc5508 58# assign floating point type
353deb84 59case ${target} in
fecd2382
RP
60vax)
61 atof=vax
62 ;;
63*)
64 atof=ieee
65 ;;
66esac
67
74cc5508 68files="config/ho-${host}.h config/tc-${cpu_type}.c \
353deb84 69 config/tc-${cpu_type}.h config/te-${emulation}.h \
74cc5508
RP
70 config/obj-${obj_format}.h config/obj-${obj_format}.c \
71 config/atof-${atof}.c"
72
fecd2382 73links="host.h targ-cpu.c targ-cpu.h targ-env.h obj-format.h obj-format.c atof-targ.c"
This page took 0.043072 seconds and 4 git commands to generate.