On Thursday 13 January 2011, Ian Lance wrote:
> Stefano Lattarini writes:
>
> > Relative (as I expected):
> >
> > $ cat dejagnu-srcdir-is-absolute.dir/site.exp
> > ## these variables are automatically generated by make ##
> > # Do not edit here. If you wish to override these values
> >
Stefano Lattarini writes:
> Relative (as I expected):
>
> $ cat dejagnu-srcdir-is-absolute.dir/site.exp
> ## these variables are automatically generated by make ##
> # Do not edit here. If you wish to override these values
> # edit the last section
> set srcdir .
> set objdir /home/
Ralf Wildenhues writes:
> Am I correct in assuming that it is hopeless to assume GCC will work
> when either values are relative?
Actually, as far as I know, GCC is likely to work with a relative
srcdir. The problem arises with DejaGNU .exp files which themselves
change directories. As far as
Hello Ian.
On Wednesday 12 January 2011, Ian Lance wrote:
> When automake is configured to use DejaGNU, it uses two different values
> for srcdir. There are two different cases in lib/am/dejagnu.am:
>
> The first is in check-DEJAGNU:
>
> check-DEJAGNU: site.exp
> ## Life is easiest with an abso