A simple Question:
How can I set "-mabi=64 -mips4" as the default for GCC in the attached spec file?
I'm using GCC 3.3 from freeware.sgi.com on IRIX64
Thanks in advance
*asm: %{G*} %(endian_spec) %{mips1} %{mips2} %{mips3} %{mips4} %{mips32} %{mips64}%{mips16:%{!mno-mips16:-mips16}} %{mno-mips16:-no-mips16} %(subtarget_asm_optimizing_spec) %(subtarget_asm_debugging_spec) %{membedded-pic} %{mabi=32:-32}%{mabi=n32:-n32}%{mabi=64:-64}%{mabi=n64:-64} %{mabi=eabi} %{mabi=o64} %{!mabi*: %(asm_abi_default_spec)} %{mgp32} %{mgp64} %{march=*} %(target_asm_spec) %(subtarget_asm_spec) *asm_debug: *asm_final: *asm_options: %a %Y %{c:%W{o*}%{!o*:-o %w%b%O}}%{!c:-o %d%w%u%O} *invoke_as: %{!S:-o %{|!pipe:%g.s} | as %(asm_options) %{!pipe:%g.s} %A } *cpp: %(subtarget_cpp_spec) *cpp_options: %(cpp_unique_options) %1 %{m*} %{std*} %{ansi} %{W*&pedantic*} %{w} %{f*} %{O*} %{undef} *cpp_debug_options: %{d*} *cpp_unique_options: %{C:%{!E:%eGNU C does not support -C without using -E}} %{CC:%{!E:%eGNU C does not support -CC without using -E}} %{!Q:-quiet} %{nostdinc*} %{C} %{CC} %{v} %{I*} %{P} %I %{MD:-MD %{!o:%b.d}%{o*:%.d%*}} %{MMD:-MMD %{!o:%b.d}%{o*:%.d%*}} %{M} %{MM} %{MF*} %{MG} %{MP} %{MQ*} %{MT*} %{!E:%{!M:%{!MM:%{MD|MMD:%{o*:-MQ %*}}}}} %{!no-gcc:-D__GNUC__=%v1 -D__GNUC_MINOR__=%v2 -D__GNUC_PATCHLEVEL__=%v3} %{!undef:%{!ansi:%{!std=*:%p}%{std=gnu*:%p}} %P} %{trigraphs} %{remap} %{g3:-dD} %{H} %C %{D*&U*&A*} %{i*} %Z %i %{E|M|MM:%W{o*}} *trad_capable_cpp: cc1 -E %{traditional|ftraditional|traditional-cpp:-traditional-cpp} *cc1: %{gline:%{!g:%{!g0:%{!g1:%{!g2: -g1}}}}} %{G*} %{EB:-meb} %{EL:-mel} %{EB:%{EL:%emay not use both -EB and -EL}} %{save-temps: } %(subtarget_cc1_spec) *cc1_options: %{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}} %1 %{!Q:-quiet} -dumpbase %B %{d*} %{m*} %{a*} -auxbase%{c|S:%{o*:-strip %*}%{!o*: %b}}%{!c:%{!S: %b}} %{g*} %{O*} %{W*&pedantic*} %{w} %{std*} %{ansi} %{v:-version} %{pg:-p} %{p} %{f*} %{undef} %{Qn:-fno-ident} %{--help:--help} %{--target-help:--target-help} %{!fsyntax-only:%{S:%W{o*}%{!o*:-o %b.s}}} %{fsyntax-only:-o %j} %{-param*} *cc1plus: *link_gcc_c_sequence: %G %L %G *endfile: crtend.o%s %{!shared: %{mabi=32:crtn.o%s} %{mabi=n32:%{mips4:/usr/lib32/mips4/crtn.o%s} %{!mips4:/usr/lib32/mips3/crtn.o%s}} %{mabi=64:%{mips4:/usr/lib64/mips4/crtn.o%s} %{!mips4:/usr/lib64/mips3/crtn.o%s}} %{!mabi*:%{mips4:/usr/lib32/mips4/crtn.o%s} %{!mips4:/usr/lib32/mips3/crtn.o%s}}} *link: %{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} %{mips4} %{bestGnum} %{shared} %{non_shared} %{call_shared} %{no_archive} %{exact_version} %{w} %{!shared: %{!non_shared: %{!call_shared: -call_shared -no_unresolved}}} %{rpath} -init __do_global_ctors -fini __do_global_dtors %{shared:-hidden_symbol __do_global_ctors,__do_global_ctors_1,__do_global_dtors} -_SYSTYPE_SVR4 -woff 131 %{mabi=32: -32}%{mabi=n32: -n32}%{mabi=64: -64}%{!mabi*: -n32} *lib: %{mabi=n32: %{mips4:-L/usr/lib32/mips4} %{!mips4:-L/usr/lib32/mips3} -L/usr/lib32} %{mabi=64: %{mips4:-L/usr/lib64/mips4} %{!mips4:-L/usr/lib64/mips3} -L/usr/lib64} %{!mabi*: %{mips4:-L/usr/lib32/mips4} %{!mips4:-L/usr/lib32/mips3} -L/usr/lib32} %{!shared: -dont_warn_unused %{p:libprof1.a%s}%{pg:libprof1.a%s} -lc -warn_unused} *libgcc: -dont_warn_unused -lgcc -warn_unused *startfile: %{!shared: %{mabi=32:%{pg:gcrt1.o%s} %{!pg:%{p:mcrt1.o%s libprof1.a%s}%{!p:crt1.o%s}}} %{mabi=n32: %{mips4:%{pg:/usr/lib32/mips4/gcrt1.o%s} %{!pg:%{p:/usr/lib32/mips4/mcrt1.o%s /usr/lib32/mips4/libprof1.a%s} %{!p:/usr/lib32/mips4/crt1.o%s}}} %{!mips4:%{pg:/usr/lib32/mips3/gcrt1.o%s} %{!pg:%{p:/usr/lib32/mips3/mcrt1.o%s /usr/lib32/mips3/libprof1.a%s} %{!p:/usr/lib32/mips3/crt1.o%s}}}} %{mabi=64: %{mips4:%{pg:/usr/lib64/mips4/gcrt1.o} %{!pg:%{p:/usr/lib64/mips4/mcrt1.o /usr/lib64/mips4/libprof1.a} %{!p:/usr/lib64/mips4/crt1.o}}} %{!mips4:%{pg:/usr/lib64/mips3/gcrt1.o} %{!pg:%{p:/usr/lib64/mips3/mcrt1.o /usr/lib64/mips3/libprof1.a} %{!p:/usr/lib64/mips3/crt1.o}}}} %{!mabi*: %{mips4:%{pg:/usr/lib32/mips4/gcrt1.o%s} %{!pg:%{p:/usr/lib32/mips4/mcrt1.o%s /usr/lib32/mips4/libprof1.a%s} %{!p:/usr/lib32/mips4/crt1.o%s}}} %{!mips4:%{pg:/usr/lib32/mips3/gcrt1.o%s} %{!pg:%{p:/usr/lib32/mips3/mcrt1.o%s /usr/lib32/mips3/libprof1.a%s} %{!p:/usr/lib32/mips3/crt1.o%s}}}}} crtbegin.o%s *switches_need_spaces: o *predefines: *cross_compile: 0 *version: 3.3 *multilib: . !mabi=n32 !mabi=64;mabi=n32:. mabi=n32 !mabi=64;mabi=64:mabi=64 !mabi=n32 mabi=64; *multilib_defaults: mabi=n32 *multilib_extra: *multilib_matches: mabi=n32 mabi=n32;mabi=64 mabi=64; *multilib_exclusions: *multilib_options: mabi=n32/mabi=64 *linker: collect2 *link_libgcc: %D *md_exec_prefix: /usr/bin/ *md_startfile_prefix: *md_startfile_prefix_1: *startfile_prefix_spec: *subtarget_cc1_spec: *subtarget_cpp_spec: *mips_as_asm_spec: %{!.s:-nocpp} %{.s: %{cpp} %{nocpp}} %{pipe: %e-pipe is not supported} %{K} %(subtarget_mips_as_asm_spec) *gas_asm_spec: %{mtune=*} %{v} *target_asm_spec: %{!mgas: %(mips_as_asm_spec)} %{mgas: %(gas_asm_spec)} *subtarget_mips_as_asm_spec: %{v:-show} -G 0 -w *subtarget_asm_optimizing_spec: -O0 *subtarget_asm_debugging_spec: -g0 *subtarget_asm_spec: %{!mabi*:-n32} %{!mips*: %{!mabi*:-mips3} %{mabi=n32|mabi=64:-mips3}} *asm_abi_default_spec: *endian_spec: %{!EL:%{!mel:-EB}} %{EL|mel:-EL} *link_command: %{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S: %(linker) %l %X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} %{r} %{s} %{t} %{u*} %{x} %{z} %{Z} %{!A:%{!nostdlib:%{!nostartfiles:%S}}} %{static:} %{L*} %(link_libgcc) %o %{!nostdlib:%{!nodefaultlibs:%(link_gcc_c_sequence)}} %{!A:%{!nostdlib:%{!nostartfiles:%E}}} %{T*} }}}}}}