libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Support -r* processor type option for SGI C++ compiler


From: Albert Chin
Subject: Support -r* processor type option for SGI C++ compiler
Date: Tue, 7 Dec 2004 22:04:19 -0600
User-agent: Mutt/1.5.6i

With the SGI C++ compiler, -r* selects the CPU type:
     -rprocessor Specifies the code scheduler.  processor can be one of the
                 following options:

                 Option  Action
                 4000    Schedules code for the R4000 processor.
                 5000    Schedules code for the R5000 processor.
                 8000    Schedules code for the R8000 processor.
                 10000   Schedules code for the R10000 processor.
                 12000   Schedules code for the R12000 processor.
                 14000   Schedules code for the R14000 processor.
                 16000   Schedules code for the R16000 processor.

                 This option adds the following to the head of the library
                 search path, where processor is as you specified:

                      -L/usr/lib{32,64}/mips{3,4}/processor

Patch against HEAD.

-- 
albert chin (address@hidden)

-- snip snip
2004-12-07  Albert Chin-A-Young  <address@hidden>

        * config/ltmain.m4sh: Preserve processor option for
        SGI Compiler (-r[0-9][0-9]*).

Index: config/ltmain.m4sh
===================================================================
RCS file: /cvsroot/libtool/libtool/config/ltmain.m4sh,v
retrieving revision 1.30
diff -u -3 -p -r1.30 ltmain.m4sh
--- config/ltmain.m4sh  2 Dec 2004 16:40:55 -0000       1.30
+++ config/ltmain.m4sh  8 Dec 2004 04:01:14 -0000
@@ -2786,11 +2796,12 @@ func_mode_link ()
        ;;
 
       # -64, -mips[0-9] enable 64-bit mode on the SGI compiler
+      # -r[0-9][0-9]* specifies the processor on the SGI compiler
       # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
       # +DA*, +DD* enable 64-bit mode on the HP compiler
       # -q* pass through compiler args for the IBM compiler
       # -m* pass through architecture-specific compiler args for GCC
-      -64|-mips[[0-9]]|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*)
+      -64|-mips[[0-9]]|-r[[0-9]][[0-9]]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*)
         func_quote_for_eval "$arg"
        arg="$func_quote_for_eval_result"
         compile_command="$compile_command $arg"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]