[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: How to customizing dejagnu for new architecture whichisnotsupported
From: |
Venkatesan Jeevanandam |
Subject: |
RE: How to customizing dejagnu for new architecture whichisnotsupported by GCC ? |
Date: |
Fri, 29 Jun 2007 17:17:27 +0530 |
I can able to test my new compiler. Yes as u said, I am testing the compiler
which as been already built (cross compiler).
I gave arguments in command prompt like this.
#runtest --tool gcc --target_board arch-sim --tool_exec arch-bin
<testsuite.exp>
Thanks Ben.
Regards
Venkat
-----Original Message-----
From: Ben Elliston [mailto:address@hidden
Sent: Friday, June 29, 2007 4:26 PM
To: Venkatesan Jeevanandam
Cc: address@hidden
Subject: Re: How to customizing dejagnu for new architecture
whichisnotsupported by GCC ?
Hi Venkat
> I have added a file "arch-sim.exp" in baseboards directory.
OK. Although you can also have your own "boards" directory by using
something like this in site.exp:
lappend boards_dir "/home/bje/etc/boards"
> I am using only testsuite part of gcc, it doesn't contain makefile.
Eh? If you have the gcc testsuite untarred alongside the gcc source
tree, your gcc Makefile will have a "make check" target that will run
the testsuite. If you want to pass extra options to runtest, you
should use something like this:
make RUNTESTFLAGS="--target_board yourboard.exp" check-gcc
If you run the testsuite this way, it will test the compiler you've
just built.
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.