dejagnu
[Top][All Lists]
Advanced

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

GDB testsuite + dejagnu uses gcc compiler by default, how to configure t


From: Venkatesan Jeevanandam
Subject: 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:43:23 +0530


________________________________________
From: Venkatesan Jeevanandam 
Sent: Thursday, July 12, 2007 2:40 PM
To: 'address@hidden'; 'address@hidden'
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)



________________________________________
From: Venkatesan Jeevanandam 
Sent: Thursday, July 12, 2007 2:38 PM
To: address@hidden; address@hidden
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. 




reply via email to

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