dejagnu
[Top][All Lists]
Advanced

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

RE: GDB testsuite + dejagnu uses gcc compiler by default, how to configu


From: Venkatesan Jeevanandam
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

 

 


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,

 

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. 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.

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.


reply via email to

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