|Subject:||RE: GDB testsuite + dejagnu uses gcc compiler by default, how to configure testsuite to use other 'c' compilers (like cross compilers arm-cc, etc)|
|Date:||Thu, 12 Jul 2007 14:39:34 +0530|
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,
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.
J Venkatesan |
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.
Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.
MindTree reserves the right to monitor and review the content of all messages sent to or from MindTree e-mail address. Messages sent to or from this e-mail address may be stored on the MindTree e-mail system or else where.
|[Prev in Thread]||Current Thread||[Next in Thread]|