This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FW: GDB testsuite + dejagnu uses gcc compiler by default, how to configure testsuite to use other 'c' compilers (like cross compilers arm-cc, etc)



________________________________________
From: Venkatesan Jeevanandam 
Sent: Thursday, July 12, 2007 2:38 PM
To: dejagnu@gnu.org; gcc@gcc.gnu.org
Subject: GDB testsuite + dejagnu uses gcc compiler by default, how to
configure testsuite to use other 'c' compilers (like cross compilers arm-cc,
etc)
Importance: High

Hi 

I am testing a cross compiler debugger (arch-gdb). I want to use arch-cc
compiler to compile the testsuite 'c' files, however gcc is considered as a
default compiler.

$runtest  - -tool gdb  - - tool_exec arch-gdb <testsuite.exp>
The above command, runs gdb testsuite successfully, using gcc compiler. I
added target dependent board file,

$runtest - -tool gdb - -tool_exec arch-gdb - -target_board arch_board
<testsuite.exp>,
I am getting the below error, "gdb compile failed, default_target_compile: No
compiler to compile with"

Using /usr/local/share/dejagnu/config/gdb-comm.exp as generic interface file
for target.
Using ./config/tile-eval.exp as tool-and-target-specific interface file.
Running ./gdb.base/return.exp ...
gdb compile failed, default_target_compile: No compiler to compile with
Running ./gdb.base/radix.exp ...
Running ./gdb.base/gcore.exp ...



How to configure dejagnu / gdb testsuite to use arch-cc instead of gcc...?
Please help me.

Regards,
J Venkatesan |


DISCLAIMER:
This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return  e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited.Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.
E-mail may contain viruses. Before opening attachments please check them for viruses and defects. While MindTree Consulting Limited (MindTree) has put in place checks to minimize the risks, MindTree will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]