[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: How to customizing dejagnu for new architecture which isnotsupported
From: |
Venkatesan Jeevanandam |
Subject: |
RE: How to customizing dejagnu for new architecture which isnotsupported by GCC ? |
Date: |
Thu, 28 Jun 2007 09:53:38 +0530 |
Hi Ben,
First of all thanks for your response.
I have added a file "arch-sim.exp" in baseboards directory.
I am using only testsuite part of gcc, it doesn't contain makefile.
I am using the command like this...
#runtest --tool gcc --target_board arch-sim compile.exp
But, this command tests installed gcc compiler in my Fedora core 5 machine
(gcc 4.1.0). how to change this default gcc compiler to my new compiler
"arch-gcc"
Thanks
Venkat
-----Original Message-----
From: Ben Elliston [mailto:address@hidden
Sent: Thursday, June 28, 2007 9:07 AM
To: Venkatesan Jeevanandam
Cc: address@hidden
Subject: Re: How to customizing dejagnu for new architecture which
isnotsupported by GCC ?
Hi Venkat
> How can i test "arch-gcc" cross-compiler binary instead of "gcc'
> binary using GCC testsuite ?
You need to create a board file that tells DejaGnu how to find the
compiler, how to link tests, how to execute them, etc. See
/usr/share/dejagnu/baseboards for examples.
> Do i need to change any configuration file in dejagnu for testing
> that compiler?
Yes. When you've created a yourboard.exp file, you then run the
testsuite using:
make RUNTESTFLAGS="--target_board yourboard.exp" check-gcc
Write back if you have trouble writing a board definition.
Cheers, Ben
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.