bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/642] objcopy testsuite CC/CFLAGS make enviroment


From: bje at sources dot redhat dot com
Subject: [Bug binutils/642] objcopy testsuite CC/CFLAGS make enviroment
Date: 31 Mar 2006 03:43:57 -0000

------- Additional Comments From bje at sources dot redhat dot com  2006-03-31 
03:43 -------
The right way to specify tool specific variables is to put them in the
RUNTESTFLAGS variable (relevant section of the runtest man page is shown below).

     ``Makefile style variables are used to specify tool names and their flags;
     these and  other  configuration dependent values are saved in the file
     site.exp, created during configuration.''

Alternatively, you can add lines like these to your site.exp:

set CC_FOR_TARGET mygcc
set CFLAGS_FOR_TARGET -W

Note that the variables you are thinking of are not called CC and CFLAGS in the
test framework.  They're called CC_FOR_TARGET and CFLAGS_FOR_TARGET.

Sorry for taking so long to respond!

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |WORKSFORME


http://sourceware.org/bugzilla/show_bug.cgi?id=642

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

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