1 dnl Process this file with autoconf to produce a configure script.
14 AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/..)
19 AC_CHECK_HEADERS(memory.h string.h strings.h unistd.h termios.h termio.h sgtty.h stddef.h)
24 dnl Handle optional features that can be enabled.
31 [case "${enableval}" in
32 yes) enable_netrom=yes ;;
33 no) enable_netrom=no ;;
34 *) AC_MSG_ERROR(bad value ${enableval} given for netrom option) ;;
37 if test "${enable_netrom}" = "yes"; then
38 ENABLE_OBS="${ENABLE_OBS} remote-nrom.o"
46 [case "${enableval}" in
47 yes) ENABLE_OBS="${ENABLE_OBS} magic.o"
48 ENABLE_CFLAGS=-DGENERAL_MAGIC
51 *) AC_MSG_ERROR(bad value ${enableval} given for gm option) ;;
56 AC_ARG_ENABLE(sim-powerpc,
57 [ --enable-sim-powerpc ],
58 [case "${enableval}" in
59 yes) powerpc_sim=yes ;;
61 *) AC_MSG_ERROR(bad value ${enableval} given for sim-powerpc option) ;;
62 esac],[if test x"$GCC" != x""; then powerpc_sim=yes; else powerpc_sim=no; fi])
64 # start-sanitize-gdbtk
69 [case "${enableval}" in
70 yes) enable_gdbtk=yes ;;
71 no) enable_gdbtk=no ;;
72 *) AC_MSG_ERROR(bad value ${enableval} given for gdbtk option) ;;
75 if test "${enable_gdbtk}" = "yes"; then
84 if test "x$no_x" != "xyes"; then
85 if test "x$x_includes" != "x" ;
87 X_CFLAGS="-I$x_includes"
92 if test "x$x_libraries" != "x" ;
94 X_LDFLAGS="-L$x_libraries"
101 # gdb linked statically w/ Solaris iff GCC is used, otherwise dynamic
104 if test "x$GCC" = "xyes";
106 X_LIBS="-Wl,-Bstatic -lX11 -lXext -lX11 -Wl,-Bdynamic"
108 if test "x$x_libraries" != "x" ;
110 X_LDFLAGS="$X_LDFLAGS -R$x_libraries"
112 X_LIBS="-lX11 -lXext -lX11"
115 # gdb linked statically w/ SunOS or HPUX
117 m68k-hp-hpux*|hppa*-hp-hpux*|sparc-sun-sunos*)
118 if test "x$x_libraries" != "x" ;
120 X_LIBS="$x_libraries/libX11.a"
122 X_LIBS="/usr/lib/libX11.a"
125 # default is to link dynamically
134 AC_MSG_WARN([No X based programs will be built])
137 TCL_LIBS='$(TCL) $(TK) $(X11_LDFLAGS) $(X11_LIBS)'
138 ENABLE_CLIBS="${ENABLE_CLIBS} ${TCL_LIBS} -lm"
139 ENABLE_OBS="${ENABLE_OBS} gdbtk.o"
142 AC_SUBST(ENABLE_GDBTK)
148 AC_SUBST(ENABLE_CFLAGS)
149 AC_SUBST(ENABLE_CLIBS)
152 # target_subdir is used by the testsuite to find the target libraries.
154 if test "${host}" != "${target}"; then
155 target_subdir="${target_alias}/"
157 AC_SUBST(target_subdir)
159 configdirs="doc testsuite"
164 # Map host cpu into the config cpu subdirectory name.
165 # The default is $host_cpu.
167 case "${host_cpu}" in
169 c[12]) gdb_host_cpu=convex ;;
170 hppa*) gdb_host_cpu=pa ;;
171 i[3456]86) gdb_host_cpu=i386 ;;
172 m68*) gdb_host_cpu=m68k ;;
173 m88*) gdb_host_cpu=m88k ;;
174 np1) gdb_host_cpu=gould ;;
175 pyramid) gdb_host_cpu=pyr ;;
176 powerpc*) gdb_host_cpu=powerpc ;;
177 *) gdb_host_cpu=$host_cpu ;;
181 # map host info into gdb names.
185 a29k-*-*) gdb_host=ultra3 ;;
187 alpha-*-osf1*) gdb_host=alpha-osf1 ;;
188 alpha-*-osf2*) gdb_host=alpha-osf2 ;;
189 alpha-*-osf[3456789]*) gdb_host=alpha-osf3 ;;
191 arm-*-*) gdb_host=arm ;;
193 c[12]-*-*) gdb_host=convex ;;
195 hppa*-*-bsd*) gdb_host=hppabsd ;;
196 hppa*-*-hiux*) gdb_host=hppahpux ;;
197 hppa*-*-hpux*) gdb_host=hppahpux ;;
198 hppa*-*-osf*) gdb_host=hppaosf ;;
200 i[3456]86-ncr-*) gdb_host=ncr3000 ;;
201 i[3456]86-sequent-bsd*) gdb_host=symmetry ;; # dynix
202 i[3456]86-sequent-sysv4*) gdb_host=ptx4 ;;
203 i[3456]86-sequent-sysv*) gdb_host=ptx ;;
204 i[3456]86-*-aix*) gdb_host=i386aix ;;
205 i[3456]86-*-bsd*) gdb_host=i386bsd ;;
206 i[3456]86-*-dgux*) gdb_host=i386dgux ;;
207 i[3456]86-*-freebsd*) gdb_host=fbsd ;;
208 i[3456]86-*-netbsd*) gdb_host=nbsd ;;
209 i[3456]86-*-go32*) gdb_host=go32 ;;
210 i[3456]86-*-linux*) gdb_host=linux ;;
211 i[3456]86-*-lynxos*) gdb_host=i386lynx ;;
212 i[3456]86-*-mach3*) gdb_host=i386m3 ;;
213 i[3456]86-*-mach*) gdb_host=i386mach ;;
214 i[3456]86-*-osf1mk*) gdb_host=osf1mk ;;
215 i[3456]86-*-sco3.2v4*) gdb_host=i386sco4 ;;
216 i[3456]86-*-sco*) gdb_host=i386sco ;;
217 i[3456]86-*-solaris*) gdb_host=i386sol2 ;;
218 i[3456]86-*-sunos*) gdb_host=sun386 ;;
219 i[3456]86-*-sysv3.2*) gdb_host=i386v32 ;;
220 i[3456]86-*-sysv32*) gdb_host=i386v32 ;;
221 i[3456]86-*-sysv4*) gdb_host=i386v4 ;;
222 i[3456]86-*-unixware) gdb_host=i386v4 ;;
223 i[3456]86-*-sysv*) gdb_host=i386v ;;
224 i[3456]86-*-isc*) gdb_host=i386v32 ;;
225 i[3456]86-*-os9k) gdb_host=i386os9k ;;
226 i[3456]86-*-win32*) gdb_host=win32 ;;
227 m680[01]0-sun-sunos3*) gdb_host=sun2os3 ;;
228 m680[01]0-sun-sunos4*) gdb_host=sun2os4 ;;
229 m68030-sony-*) gdb_host=news1000 ;;
231 m68*-altos-*) gdb_host=altos ;;
232 m68*-apollo*-sysv*) gdb_host=apollo68v ;;
233 m68*-apollo*-bsd*) gdb_host=apollo68b ;;
234 m68*-att-*) gdb_host=3b1 ;;
235 m68*-bull*-sysv*) gdb_host=dpx2 ;;
236 m68*-hp-bsd*) gdb_host=hp300bsd ;;
237 m68*-hp-hpux*) gdb_host=hp300hpux ;;
238 m68*-isi-*) gdb_host=isi ;;
239 m68*-*-lynxos*) gdb_host=m68klynx ;;
240 m68*-*-sysv4*) gdb_host=m68kv4 ;;
241 m68*-motorola-*) gdb_host=delta68 ;;
242 m68*-sony-*) gdb_host=news ;;
243 m68*-sun-sunos3*) gdb_host=sun3os3 ;;
244 m68*-sun-sunos4*) gdb_host=sun3os4 ;;
245 m68*-sun-*) gdb_host=sun3os4 ;;
247 m88*-harris-cxux*) gdb_host=cxux ;;
248 m88*-motorola-sysv4*) gdb_host=delta88v4 ;;
249 m88*-motorola-sysv*) gdb_host=delta88 ;;
250 m88*-*-mach3*) gdb_host=mach3 ;;
251 m88*-*-*) gdb_host=m88k ;;
253 mips-dec-mach3*) gdb_host=mach3 ;;
254 mips-dec-*) gdb_host=decstation ;;
255 mips-little-*) gdb_host=littlemips ;;
256 mips-sgi-irix3*) gdb_host=irix3 ;;
257 mips-sgi-irix4*) gdb_host=irix4 ;;
258 mips-sgi-irix5*) gdb_host=irix5 ;;
259 mips-sony-*) gdb_host=news-mips ;;
260 mips-*-mach3*) gdb_host=mach3 ;;
261 mips-*-sysv4*) gdb_host=mipsv4 ;;
262 mips-*-sysv*) gdb_host=riscos ;;
263 mips-*-riscos*) gdb_host=riscos ;;
265 none-*-*) gdb_host=none ;;
267 np1-*-*) gdb_host=np1 ;;
269 ns32k-*-mach3*) gdb_host=mach3 ;;
270 ns32k-*-netbsd*) gdb_host=nbsd ;;
271 ns32k-umax-*) gdb_host=umax ;;
272 ns32k-utek-sysv*) gdb_host=merlin ;;
274 powerpc-*-aix*) gdb_host=aix ;;
276 pn-*-*) gdb_host=pn ;;
278 pyramid-*-*) gdb_host=pyramid ;;
280 romp-*-*) gdb_host=rtbsd ;;
282 rs6000-*-lynxos*) gdb_host=rs6000lynx ;;
283 rs6000-*-*) gdb_host=rs6000 ;;
285 sparc-*-lynxos*) gdb_host=sparclynx ;;
286 sparc-*-netbsd*) gdb_host=nbsd ;;
287 sparc-*-solaris2*) gdb_host=sun4sol2 ;;
288 sparc-*-sunos4*) gdb_host=sun4os4 ;;
289 sparc-*-sunos5*) gdb_host=sun4sol2 ;;
290 sparc-*-*) gdb_host=sun4os4 ;;
292 tahoe-*-*) gdb_host=tahoe ;;
294 vax-*-bsd*) gdb_host=vaxbsd ;;
295 vax-*-ultrix2*) gdb_host=vaxult2 ;;
296 vax-*-ultrix*) gdb_host=vaxult ;;
298 w65-*-*) gdb_host=w65 ;;
303 # Map target cpu into the config cpu subdirectory name.
304 # The default is $target_cpu.
306 case "${target_cpu}" in
308 alpha) gdb_target_cpu=alpha ;;
309 c[12]) gdb_target_cpu=convex ;;
310 hppa*) gdb_target_cpu=pa ;;
311 i[3456]86) gdb_target_cpu=i386 ;;
312 m68*) gdb_target_cpu=m68k ;;
313 m88*) gdb_target_cpu=m88k ;;
314 mips*) gdb_target_cpu=mips ;;
315 np1) gdb_target_cpu=gould ;;
316 powerpc*) gdb_target_cpu=powerpc ;;
317 pn) gdb_target_cpu=gould ;;
318 pyramid) gdb_target_cpu=pyr ;;
319 sparc*) gdb_target_cpu=sparc ;;
320 *) gdb_target_cpu=$target_cpu ;;
324 # map target info into gdb names.
328 a29k-*-aout*) gdb_target=a29k ;;
329 a29k-*-coff*) gdb_target=a29k ;;
330 a29k-*-elf*) gdb_target=a29k ;;
331 a29k-*-ebmon*) gdb_target=a29k ;;
332 a29k-*-kern*) gdb_target=a29k-kern ;;
333 a29k-*-none*) gdb_target=a29k ;;
334 a29k-*-sym1*) gdb_target=ultra3 ;;
335 a29k-*-udi*) gdb_target=a29k-udi ;;
336 a29k-*-vxworks*) gdb_target=vx29k ;;
338 alpha-*-osf*) gdb_target=alpha-osf1 ;;
341 arc-*-*) gdb_target=arc ;;
344 arm-*-*) gdb_target=arm ;;
346 c1-*-*) gdb_target=convex ;;
347 c2-*-*) gdb_target=convex ;;
349 h8300-*-*) gdb_target=h8300 ;;
350 h8500-*-*) gdb_target=h8500 ;;
352 sh-*-*) gdb_target=sh ;;
355 r16-*-*) gdb_target=r16 ;;
358 hppa*-*-bsd*) gdb_target=hppabsd ;;
359 hppa*-*-pro*) gdb_target=hppapro ;;
360 hppa*-*-hpux*) gdb_target=hppahpux ;;
361 hppa*-*-hiux*) gdb_target=hppahpux ;;
362 hppa*-*-osf*) gdb_target=hppaosf ;;
364 i[3456]86-sequent-bsd*) gdb_target=symmetry ;;
365 i[3456]86-sequent-sysv4*) gdb_target=ptx4 ;;
366 i[3456]86-sequent-sysv*) gdb_target=ptx ;;
367 i[3456]86-ncr-*) gdb_target=ncr3000 ;;
368 i[3456]86-*-aout*) gdb_target=i386aout ;;
369 i[3456]86-*-coff*) gdb_target=i386v ;;
370 i[3456]86-*-elf*) gdb_target=i386v ;;
371 i[3456]86-*-aix*) gdb_target=i386aix ;;
372 i[3456]86-*-bsd*) gdb_target=i386bsd ;;
373 i[3456]86-*-freebsd*) gdb_target=fbsd ;;
374 i[3456]86-*-netbsd*) gdb_target=nbsd ;;
375 i[3456]86-*-os9k) gdb_target=i386os9k ;;
376 i[3456]86-*-go32*) gdb_target=i386aout ;;
377 i[3456]86-*-lynxos*) gdb_target=i386lynx
378 configdirs="${configdirs} gdbserver" ;;
379 i[3456]86-*-solaris*) gdb_target=i386sol2 ;;
380 i[3456]86-*-sunos*) gdb_target=sun386 ;;
381 i[3456]86-*-sysv4*) gdb_target=i386v4 ;;
382 i[3456]86-*-sco*) gdb_target=i386v ;;
383 i[3456]86-*-sysv*) gdb_target=i386v ;;
384 i[3456]86-*-linux*) gdb_target=linux ;;
385 i[3456]86-*-isc*) gdb_target=i386v ;;
386 i[3456]86-*-mach3*) gdb_target=i386m3 ;;
387 i[3456]86-*-mach*) gdb_target=i386mach ;;
388 i[3456]86-*-netware*) gdb_target=i386nw
389 configdirs="${configdirs} nlm" ;;
390 i[3456]86-*-osf1mk*) gdb_target=i386mk ;;
391 i[3456]86-*-win32) gdb_target=win32 ;;
393 i960-*-bout*) gdb_target=vxworks960 ;;
394 i960-*-coff*) gdb_target=nindy960 ;;
395 i960-*-elf*) gdb_target=nindy960 ;;
397 i960-*-nindy*) gdb_target=nindy960 ;;
398 i960-*-vxworks*) gdb_target=vxworks960 ;;
400 m68000-*-sunos3*) gdb_target=sun2os3 ;;
401 m68000-*-sunos4*) gdb_target=sun2os4 ;;
403 m68*-apollo*-bsd*) gdb_target=apollo68b ;;
404 m68*-bull-sysv*) gdb_target=dpx2 ;;
405 m68*-hp-bsd*) gdb_target=hp300bsd ;;
406 m68*-hp-hpux*) gdb_target=hp300hpux ;;
407 m68*-altos-*) gdb_target=altos ;;
408 m68*-att-*) gdb_target=3b1 ;;
409 m68*-cisco*-*) gdb_target=cisco ;;
410 m68*-ericsson-*) gdb_target=es1800 ;;
411 m68*-isi-*) gdb_target=isi ;;
412 m68*-motorola-*) gdb_target=delta68 ;;
413 m68*-netx-*) gdb_target=vxworks68 ;;
414 m68*-sony-*) gdb_target=news ;;
415 m68*-tandem-*) gdb_target=st2000 ;;
416 m68*-rom68k-*) gdb_target=monitor ;;
417 m68*-*bug-*) gdb_target=monitor ;;
418 m68*-monitor-*) gdb_target=monitor ;;
419 m68*-est-*) gdb_target=monitor ;;
420 m68*-*-aout*) gdb_target=monitor ;;
421 m68*-*-coff*) gdb_target=monitor ;;
422 m68*-*-elf*) gdb_target=monitor ;;
423 m68*-*-lynxos*) gdb_target=m68klynx
424 configdirs="${configdirs} gdbserver" ;;
425 m68*-*-os68k*) gdb_target=os68k ;;
426 m68*-*-sunos3*) gdb_target=sun3os3 ;;
427 m68*-*-sunos4*) gdb_target=sun3os4 ;;
428 m68*-*-sysv4*) gdb_target=m68kv4 ;;
429 m68*-*-vxworks*) gdb_target=vxworks68 ;;
431 m88*-harris-cxux*) gdb_target=cxux ;;
432 m88*-motorola-sysv4*) gdb_target=delta88v4 ;;
433 m88*-*-mach3*) gdb_target=mach3 ;;
434 m88*-motorola-*) gdb_target=delta88 ;;
435 m88*-*-*) gdb_target=m88k ;;
437 mips64*-big-*) gdb_target=bigmips64 ;;
438 mips*-big-*) gdb_target=bigmips ;;
439 mips*-dec-mach3*) gdb_target=mach3 ;;
440 mips*-dec-*) gdb_target=decstation ;;
441 mips64*el-*-ecoff*) gdb_target=embedl64 ;;
442 mips64*-*-ecoff*) gdb_target=embed64 ;;
443 mips64*vr4300*el-*-elf*) gdb_target=vr4300el ;;
444 mips64*vr4300*-*-elf*) gdb_target=vr4300 ;;
445 mips64*el-*-elf*) gdb_target=embedl64 ;;
446 mips64*-*-elf*) gdb_target=embed64 ;;
447 mips*el-*-ecoff*) gdb_target=embedl ;;
448 mips*-*-ecoff*) gdb_target=embed ;;
450 mips*-*-magic*) gdb_target=embed ;;
452 mips*el-*-elf*) gdb_target=embedl ;;
453 mips*-*-elf*) gdb_target=embed ;;
454 mips*-little-*) gdb_target=littlemips ;;
455 mips*-sgi-irix5*) gdb_target=irix5 ;;
456 mips*-sgi-*) gdb_target=irix3 ;;
457 mips*-sony-*) gdb_target=bigmips ;;
458 mips*-*-mach3*) gdb_target=mach3 ;;
459 mips*-*-sysv4*) gdb_target=mipsv4 ;;
460 mips*-*-sysv*) gdb_target=bigmips ;;
461 mips*-*-riscos*) gdb_target=bigmips ;;
463 none-*-*) gdb_target=none ;;
465 np1-*-*) gdb_target=np1 ;;
467 ns32k-*-mach3*) gdb_target=mach3 ;;
468 ns32k-*-netbsd*) gdb_target=nbsd ;;
469 ns32k-utek-sysv*) gdb_target=merlin ;;
470 ns32k-utek-*) gdb_target=umax ;;
472 pn-*-*) gdb_target=pn ;;
473 powerpc-*-macos*) gdb_target=macos ;;
474 powerpc-*-netware*) gdb_target=ppc-nw
475 configdirs="${configdirs} nlm" ;;
477 powerpc-*-aix4*) gdb_target=aix4 ;;
478 powerpc-*-aix*) gdb_target=aix ;;
479 powerpc-*-eabi*) if test x"$powerpc_sim" = x"yes"; then
484 powerpcle-*-eabi*) if test x"$powerpc_sim" = x"yes"; then
487 gdb_target=ppcle-eabi
490 pyramid-*-*) gdb_target=pyramid ;;
492 rs6000-*-lynxos*) gdb_target=rs6000lynx ;;
493 rs6000-*-aix4*) gdb_target=aix4 ;;
494 rs6000-*-*) gdb_target=rs6000 ;;
496 sparc-*-aout*) gdb_target=sparc-em ;;
497 sparc-*-coff*) gdb_target=sparc-em ;;
498 sparc-*-elf*) gdb_target=sparc-em ;;
499 sparc-*-lynxos*) gdb_target=sparclynx
500 configdirs="${configdirs} gdbserver" ;;
501 sparc-*-netbsd*) gdb_target=nbsd ;;
502 sparc-*-solaris2*) gdb_target=sun4sol2 ;;
503 sparc-*-sunos4*) gdb_target=sun4os4 ;;
504 sparc-*-sunos5*) gdb_target=sun4sol2 ;;
505 sparc-*-vxworks*) gdb_target=vxsparc ;;
506 sparc-*-*) gdb_target=sun4os4 ;;
507 sparclite*-*-*) gdb_target=sparclite ;;
508 sparc64-*-*) gdb_target=sp64 ;;
510 tahoe-*-*) gdb_target=tahoe ;;
512 vax-*-*) gdb_target=vax ;;
514 w65-*-*) gdb_target=w65 ;;
516 z8k-*-coff*) gdb_target=z8k ;;
524 host_makefile_frag=${srcdir}/config/${gdb_host_cpu}/${gdb_host}.mh
525 if test ! -f ${host_makefile_frag}; then
526 AC_MSG_ERROR("*** Gdb does not support host ${host}")
528 frags="$frags $host_makefile_frag"
530 target_makefile_frag=${srcdir}/config/${gdb_target_cpu}/${gdb_target}.mt
531 if test ! -f ${target_makefile_frag}; then
532 AC_MSG_ERROR("*** Gdb does not support target ${target}")
534 frags="$frags $target_makefile_frag"
536 AC_SUBST_FILE(host_makefile_frag)
537 AC_SUBST_FILE(target_makefile_frag)
542 s/XM_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
543 ' ${host_makefile_frag}`
546 s/TM_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
547 ' ${target_makefile_frag}`
549 # these really aren't orthogonal true/false values of the same condition,
550 # but shells are slow enough that I like to reuse the test conditions
552 if test "${target}" = "${host}"; then
554 s/NAT_FILE[ ]*=[ ]*\([^ ]*\)/\1/p
555 ' ${host_makefile_frag}`
557 # GDBserver is only useful in a "native" enviroment
558 configdirs=`echo $configdirs | sed 's/gdbserver//'`
562 # If hostfile (XM_FILE) and/or targetfile (TM_FILE) and/or nativefile
563 # (NAT_FILE) is not set in config/*/*.m[ht] files, we don't make the
564 # corresponding links. But we have to remove the xm.h files and tm.h
565 # files anyway, e.g. when switching from "configure host" to
571 if test "${hostfile}" != ""; then
572 files="${files} config/${gdb_host_cpu}/${hostfile}"
573 links="${links} xm.h"
576 if test "${targetfile}" != ""; then
577 files="${files} config/${gdb_target_cpu}/${targetfile}"
578 links="${links} tm.h"
581 if test "${nativefile}" != ""; then
582 files="${files} config/${gdb_host_cpu}/${nativefile}"
583 links="${links} nm.h"
585 # A cross-only configuration.
586 files="${files} config/nm-empty.h"
587 links="${links} nm.h"
589 # start-sanitize-gdbtk
591 # Make it possible to use the GUI without doing a full install
592 if test "${enable_gdbtk}" = "yes" -a ! -f gdbtk.tcl ; then
593 files="${files} gdbtk.tcl"
594 links="${links} gdbtk.tcl"
598 AC_LINK_FILES($files, $links)
600 AC_CONFIG_SUBDIRS($configdirs)
603 dnl Autoconf doesn't provide a mechanism for modifying definitions
604 dnl provided by makefile fragments.
606 if test "${nativefile}" = ""; then
607 sed -e '/^NATDEPFILES= /s//# NATDEPFILES= /' \
608 < Makefile > Makefile.tem
609 mv -f Makefile.tem Makefile
613 sed -e '/^TM_FILE[ ]*=/s,^TM_FILE[ ]*=[ ]*,&config/'"${gdb_target_cpu}"'/,
614 /^XM_FILE[ ]*=/s,^XM_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,
615 /^NAT_FILE[ ]*=/s,^NAT_FILE[ ]*=[ ]*,&config/'"${gdb_host_cpu}"'/,' <Makefile >Makefile.tmp
616 mv -f Makefile.tmp Makefile
623 grep "source ${srcdir}/.gdbinit" .gdbinit >/dev/null 2>/dev/null || \
624 echo "source ${srcdir}/.gdbinit" >> .gdbinit
628 gdb_host_cpu=$gdb_host_cpu
629 gdb_target_cpu=$gdb_target_cpu
630 nativefile=$nativefile