This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: g++dg/dg.exp newbie usage problem


On Sun, Jul 07, 2002 at 09:41:03PM -0700, dank@kegel.com wrote:
> After much pain, I have the beginnings of a documented procedure
> for running gcc's regression tests remotely in the simplest
> of cases (two similar red hat linux boxes on a LAN).
> It's at
>   http://www.kegel.com/xgcc3/dejagnu.html
> 
> But the pain isn't quite over yet.  When I run gcc3.0.1's
> tests remotely, I get a few failures.  Since I'm a total newbie
> at this stuff, I'm sure it's something obvious.  Running
>   runtest --tool g++ -v -v -v -v > log1
>   runtest --tool g++ --target dual -v -v -v -v> log2
>   diff -au log1 log2
> should produce no interesting differences, but I get a bunch
> of compile-time errors in the remote case (--target dual) in
> g++.dg/dg.exp.
> That isn't right, as both cases compile on the same machine.
> Can someone have a look at my recipe and see if there's any
> obvious flaws?
> Thanks!

Here's an obvious flaw - you're misusing --target if I understand the
manual correctly.  I believe you should be using --target_board
instead.


-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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