[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: response file support in GCC
From: |
Ralf Wildenhues |
Subject: |
FYI: response file support in GCC |
Date: |
Fri, 25 Nov 2005 19:14:26 +0100 |
User-agent: |
Mutt/1.5.9i |
[ from the libtool list ]
* Ralf Wildenhues wrote on Thu, Nov 24, 2005 at 09:44:02AM CET:
> With response file support in GCC [1] we need to adjust Libtool
> accordingly. Minimally to let the option through as below, but
> ideally we should probably parse its contents.
Applied to HEAD and branch-1-5, as below.
Cheers,
Ralf
* libltdl/config/ltmain.m4sh (func_mode_link): Allow GCC
response files through.
Index: libltdl/config/ltmain.m4sh
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/config/ltmain.m4sh,v
retrieving revision 1.20
diff -u -r1.20 ltmain.m4sh
--- libltdl/config/ltmain.m4sh 25 Nov 2005 12:50:54 -0000 1.20
+++ libltdl/config/ltmain.m4sh 25 Nov 2005 18:12:11 -0000
@@ -2825,8 +2825,9 @@
# -q* pass through compiler args for the IBM compiler
# -m*, -t[45]*, -txscale* pass through architecture-specific
# compiler args for GCC
+ # @file GCC response files
-64|-mips[[0-9]]|-r[[0-9]][[0-9]]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
- -t[[45]]*|-txscale*)
+ -t[[45]]*|-txscale*|@*)
func_quote_for_eval "$arg"
arg="$func_quote_for_eval_result"
compile_command="$compile_command $arg"
* ltmain.in (link mode): Allow GCC response files through.
Index: ltmain.in
===================================================================
RCS file: /cvsroot/libtool/libtool/Attic/ltmain.in,v
retrieving revision 1.334.2.101
diff -u -r1.334.2.101 ltmain.in
--- ltmain.in 25 Nov 2005 12:50:23 -0000 1.334.2.101
+++ ltmain.in 25 Nov 2005 18:12:45 -0000
@@ -1553,8 +1553,9 @@
# -m*, -t[45]*, -txscale* pass through architecture-specific
# compiler args for GCC
# -pg pass through profiling flag for GCC
+ # @file GCC response files
-64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*|-pg| \
- -t[45]*|-txscale*)
+ -t[45]*|-txscale*|@*)
# Unknown arguments in both finalize_command and compile_command need
# to be aesthetically quoted because they are evaled later.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: response file support in GCC,
Ralf Wildenhues <=