dejagnu
[Top][All Lists]
Advanced

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

Need Help.


From: Sriharsha Vedurmudi
Subject: Need Help.
Date: Thu, 14 Oct 2004 15:30:21 +0530
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803

Hello Group,

   I need some help with Deja Gnu for testing a ported version of gcc
for a custom processor. I have downloaded Deja and untarred it into a
directory.
I then ran

./configure
make
make install

as specified in the INSTALL file. But how do I run it to verify the custom version of gcc.

I have an AMD Athelon XP 2400 machine running Redhat 8.0. I have two versions of gcc running on my machine under two different paths. One is the standard version 3.2.7 that ships with RH 8.0 and the other is a custom port that has been ported for one of our new processors. The Version informations of both are as below

/****** For the Version that comes with RH **********/

bash-2.05b$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --host=i386-redhat-linux --with-system-zlib
--enable-__cxa_atexit
Thread model: posix
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
bash-2.05b$

/********* For the Ported Version *************/

bash-2.05b$ gcc -v
Reading specs from /opt/GNUPlus/rpine/lib/gcc-lib/rpine-elf32/3.3/specs
Configured with:
/mnt/vsdc416/sankhya/PS/l2333/src/views/support_release-1/gnu/gcc-3.3/configure
--prefix=/opt/GNUPlus/rpine --target=rpine-elf32 --enable-languages=c
--with-gnu-as --with-gnu-ld --without-newlib --host=i686-pc-linux-gnu
--with-dwarf2
Thread model: single
gcc version 3.3 20040831 (rpine_support_release-1.0)
bash-2.05b$

/******************************************************************************/
In order to switch between the original port to the new port, I use the following script.

bash-2.05b$ cat setup
echo "=============================================="
echo "Setting Environment for GCC compiler for RPINE"
echo "=============================================="
export GCC_EXEC_PREFIX=/opt/GNUPlus/rpine/lib/gcc-lib/
export PATH=${GCC_EXEC_PREFIX}/rpine-elf32/3.3:$PATH
export PATH=/opt/GNUPlus/rpine/rpine-elf32/bin:$PATH
export PATH=/opt/GNUPlus/rpine/bin/:$PATH
export LD_LIBRARY_PATH=/opt/GNUPlus/rpine/lib/gdb:${LD_LIBRARY_PATH}
/******************************************************************************/

        Now, I guess, you have a picture of what is going on. I have two
versions of Gcc installed in my system and depending on which target I
am compiling for, I change the path so that, that gcc version is used.

Coming to the problem, I want to know how to run Deja to verify the Ported Version of GCC?

From my side, I went through Deja site and read all that was written
(at some point it was even suggested that I create a separate user for
the purpose) and all that confused me like hell. Can someone explain the
following in simpler terms.
1. How to run the test suite on a cross-compiler that co-exists with a
native installation? (Refer above to the setup).
2. How to add/delete tests to this suite? (Also, I couldnt see any
test-case programs with it)
3. How do I obtain/store results?

I've done much searching, but all that left me more confused.

SOMEONE PLEASE RESPOND.

Kind regards,
Harsha.

--
*****************************
* Sriharsha Vedurmudi                   
* Software Engineer             
*
* Redpine Signals Inc.  
* Gate #395, Plot 87,88                 
* Sagar Society, Road #2,
* Banjara Hills,                
* Hyderabad - 500 034                   
* www.redpinesignals.com        
*                                                       
* +91-40-23559911  (Office)
* +91-9849133133   (Mobile)
*****************************








reply via email to

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