I finally created a generic-sim.exp file that reads environment files
and have used it for some of my GCC testing. Here is what I created, it
looks for DEJAGNU_SIM, DEJAGNU_SIM_MULTILIB_OPTIONS, DEJAGNU_SIM_GCC,
DEJAGNU_SIM_INCLUDE_FLAGS, DEJAGNU_SIM_LINK_FLAGS,
DEJAGNU_SIM_LDSCRIPT, and DEJAGNU
On Fri, 2012-05-25 at 19:27 +0200, Hans-Peter Nilsson wrote:
> > From: Steve Ellcey
> > Date: Fri, 25 May 2012 19:09:13 +0200
>
> > So, as a strawman proposal, perhaps we should have a baseboard that
> > checks the env. variables:
> >
> > DEJAGNU_SIM
> > DEJAGNU_SIM_LDFLAGS
> > DEJAG
> From: Steve Ellcey
> Date: Fri, 25 May 2012 19:09:13 +0200
> So, as a strawman proposal, perhaps we should have a baseboard that
> checks the env. variables:
>
> DEJAGNU_SIM
> DEJAGNU_SIM_LDFLAGS
> DEJAGNU_SIM_CFLAGS
Sounds great.
> I wonder if we should also allow somethin
On Fri, 2012-05-25 at 03:14 +0200, Hans-Peter Nilsson wrote:
> Using environment variables would IMO be better, else you'll
> still have to modify something in the GCC setup to use the
> generic baseboard, right?
>
> (And if you do that, IMHO it's less intrusive to have a
> directory outside that
> From: Steve Ellcey
> Date: Fri, 25 May 2012 02:06:34 +0200
> Are you thinking of something like:
>
> if {[info exists DEJAGNU_SIM_LDFLAGS]} {
> set_board_info ldflags "$DEJAGNU_SIM_LDFLAGS"
> }
> else {
> set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]"
> }
No, "appendin
On Thu, 2012-05-24 at 23:34 +0200, Hans-Peter Nilsson wrote:
> > From: "Steve Ellcey "
> > Date: Thu, 24 May 2012 23:03:22 +0200
>
> > I am trying to create a generic baseboard file in dejagnu for use in
> > testing GCC with a simulator.
>
> Most GCC targets already have baseboard files that fit
On Fri, 2012-05-25 at 08:12 +1000, Ben Elliston wrote:
> On Thu, May 24, 2012 at 02:03:22PM -0700, Steve Ellcey wrote:
>
> > I am trying to create a generic baseboard file in dejagnu for use in
> > testing GCC with a simulator. Rather then specify the simulator
> > name in the baseboard I want t
On Thu, May 24, 2012 at 02:03:22PM -0700, Steve Ellcey wrote:
> I am trying to create a generic baseboard file in dejagnu for use in
> testing GCC with a simulator. Rather then specify the simulator
> name in the baseboard I want to use the SIM env. variable, but that
> does not seem to be worki
> From: "Steve Ellcey "
> Date: Thu, 24 May 2012 23:03:22 +0200
> I am trying to create a generic baseboard file in dejagnu for use in
> testing GCC with a simulator.
Most GCC targets already have baseboard files that fit the
simulators (for newlib targets) that cohabit with gdb, but a
generic b