This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more infromation.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hi, I have a Win32-hosted Linux-targetted egcs-1.1.2 up and running. I've tested a number of small programs with it, but I would really like to approach the testing of this cross-compiler in a more methodical/scientific manner. My initial inclination is that the testsuite which comes with the egcs-1.1.2 sources might be a good place to start. However, as far as I can determine, I need to use dejagnu with this testsuite. Is this correct? If so, then surely I need a Win32-hosted version of dejagnu running first? Is dejagnu also the interface for running the programs (which would not be possible for my case since the compiler produces linux executables using a win32-based compiler)??? Is it possible to compile the dejagnu sources for a win32 platform? Do I really need dejagnu --- some of the testsuite programs "do things" but don't send anything to stdout --- or is there another way I can get feedback from the programs??? I've tried to configure the dejagnu sources with the script below, but I keep getting the error: "This configuration is not supported in the following subdirectories: tcl expect dejagnu (Any other directories should still work fine.)" Can anyone make some suggestions as to how I best to go about testing my new cross-compiler? Many thanks, Kevin. Kevin Farrell Software Developer <mailto: kfarrell@seagull.nl> SEAGULL IRELAND Swords Business Plaza, Main street, Swords, Co. Dublin, Ireland P.O.Box 6751, Swords. Tel. +353 1 8903090, Fax +353 1 8903089 http://www.seagullsw.com/ --- BEGIN CONFIGURE SCRIPT ---- #!/bin/sh cd /usr/local/build/dejagnu CC_FOR_TARGET=gcc \ GCC_FOR_TARGET=gcc \ CXX_FOR_TARGET=c++ \ AS_FOR_TARGET=as \ LD_FOR_TARGET=ld \ DLLTOOL_FOR_TARGET = dlltool \ WINDRES_FOR_TARGET=windres \ AR_FOR_TARGET=ar \ RANLIB_FOR_TARGET=ranlib \ NM_FOR_TARGET=nm \ ../../src/dejagnu/configure \ --build=i586-linux-gnu \ --host=i586-cygwin32 \ --prefix=/dejagnu \ --target=i586-linux-gnu -v echo /////////////////////////////////////////////////////////////////////////// echo echo "Please edit the Makefile in /usr/local/build/dejagnu" echo "and change the '**_FOR_TARGET' variables to the following :" echo echo CC_FOR_TARGET=gcc echo GCC_FOR_TARGET=gcc echo CXX_FOR_TARGET=c++ echo AS_FOR_TARGET=as echo LD_FOR_TARGET=ld echo DLLTOOL_FOR_TARGET = dlltool echo WINDRES_FOR_TARGET=windres echo AR_FOR_TARGET=ar echo RANLIB_FOR_TARGET=ranlib echo NM_FOR_TARGET=nm echo echo /////////////////////////////////////////////////////////////////////////// --- END CONFIGURE SCRIPT ----
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |