This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: built solaris->vxworks cross compiler


> Date: Mon, 24 Aug 1998 09:23:12 +0200
> From: Nyny <Nyny.sxthree@penfeld.tls.mms.fr>
> To: egcs <egcs.egcs@cygnus.com>

> Mike Stump wrote:

> What do you mean by "power controller"?  I can reboot the target
> from the command line quite easily but why should I need to turn its
> power ON/OFF?  I think rebooting should be enough to clear
> everything.

:-) You may think that, but unless you get lucky, this won't be enough
(generally speaking).  You can fake it put putting in a 'echo hit
enter after you reboot'; read a' command in for rebooting.

> I've heard a lot about problems with dejagnu versions while reading
> this list. The only version I can get on my favourite mirrors is 1.3
> from fev 1996.  Where can I get the current working version ?

See http://egcs.cygnus.com/faq.html, in particular,
ftp://egcs.cygnus.com/pub/egcs/infrastructure/dejagnu-971222.tar.gz.

In ~/board/t22-186.exp I have:

set_board_info vxworks_homedir /folk/tdel/testDir/t22-186
load_base_board_description "vxi960"
set_board_info x10 26
set_board_info "kernel,vxworks" $WIND_BSPBASE/target/config/ep960cx/vxWorks
set_board_info "kernel,vxworks5.3" $WIND_BSPBASE/target/config/ep960cx/vxWorks
set_board_info cflags " -mca -mstrict-align -DCPU=I960CA -DVX_IGNORE_GNU_LIBS "

Which is from a target file for an i960.  The board has a net
interface with the name t22-186.

And in ~/site.exp, I have:

case "$target_triplet" in {
    { "i960-wrs-vxworks*" } {
	set target_list { t22-186 }
    }
}

To test, I do a runtest --tool g++, and let it run.  If you said more
about what type of processor and what board, I might be able to say a
little bit more.  Compile up and install dejagnu, and try it out...  I
normally do a runtest --tool g++ old-deja.exp=packed1.C the first
type, and get it working, before running the full testsuite.

Good Luck, and let us now how it goes.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]