How to use GCC testsuite..?
Hi, I have been given a set of cross-compiler binaries (like arch-gcc, arch-as, arch-ld, arch-ar, arch-gdb, etc.,). How can i test "arch-gcc" cross-compiler binary using GCC testsuite ? i have downloaded and extracted gcc-testsuite.x.y.tar.gz. I have also installed dejagnu, TCL and expect for testing the cross-compiler with gcc testsuite. Thank you. Regards Venkat -- Venkatesan Jeevanandam <[EMAIL PROTECTED]> 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.
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:40 PM To: '[EMAIL PROTECTED]'; 'gcc@gcc.gnu.org' 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: [EMAIL PROTECTED]; gcc@gcc.gnu.org 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 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 , 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.
FW: 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: [EMAIL PROTECTED]; gcc@gcc.gnu.org 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 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 , 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.
Execute test fails in gcc testsuite
I am working on the testsuite for a new crosscompiler hosted on x86 Platform, While performing execute test using gcc testsuite, I am getting the error message in execute test /tmp/2112-1.x0: /tmp/2112-1.x0: cannot execute binary file I know, have to use cross compiler simulator, for executing $Arch-sim /tmp/2112-1.x0 But I don't know where to mention this configuration. how can I pass the execute test because the target application only can run under simulator, I'd also looked into the c-torture.exp under the lib dir of the testsuite source, suppose it depend on the call to gcc-load(.). But still no hint to understand the syntax staff of expect. maybe I'm wrong totally, thanks in advance for any suggestion. Please help me. --Venkat 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.
Installing gcc-3.2
Hi all, I am trying to install gcc 3.2 in a Linux machine (x86, Fedora core 5), it already have gcc 4.1.0 installed. (i.e. I am compiling with gcc 4.1.0) I am getting the below error message while compiling, can u please help me. Is there any problem with gcc in backward compatibility? Thanks in advance. $./configure --program-suffix=3.2 $make bootstap ../../gcc-3.2/gcc/rtl.h:125: warning: type of bit-field âcodeâ is a GCC extension ../../gcc-3.2/gcc/rtl.h:128: warning: type of bit-field âmodeâ is a GCC extension ../../gcc-3.2/gcc/read-rtl.c: In function âfatal_with_file_and_lineâ: ../../gcc-3.2/gcc/read-rtl.c:62: warning: traditional C rejects ISO C style function definitions ../../gcc-3.2/gcc/read-rtl.c: In function âread_rtxâ: ../../gcc-3.2/gcc/read-rtl.c:662: error: invalid lvalue in increment make[2]: *** [read-rtl.o] Error 1 make[2]: Leaving directory `/home/venkatj/Linux_soft/objdir/gcc' make[1]: *** [stage1_build] Error 2 make[1]: Leaving directory `/home/venkatj/Linux_soft/objdir/gcc' make: *** [bootstrap] Error 2 Regards Venkatesan Jeevanandam 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.