On May 6, 2005, at 11:14 AM, Josh Conner wrote:
On May 6, 2005, at 10:41 AM, Rob Savoye wrote:
Josh Conner wrote:
Adding support for the program_transform_name (sed-style
expression to convert the names of executables under test) would
simplify the testing of gcc cross-compilers, since the
runtest.exp procedure "transform" is unable to find binaries
created with a transformed name.
I'd hate to make a major change like this without asking the GCC
team what they think, as it'll impact anyway doing cross testing.
Maybe the transform proc should work correctly. It works the way
it is for most people, so I'm curious whay this hasn't been
noticed before. Are you installng your cross tools with a non-
standard name ?
Actually, it shouldn't impact anyone unless they set the variable
$program_transform_name, e.g., in site.exp (ideally, automatically
by gcc -- I have another patch for this). So, there shouldn't be
any regression issues.
I expect this hasn't been noticed before because the program-
transform-name used by gcc probably matches the target-alias for
many cross-compilation environments. Of course, this is just
speculation on my part, but it is the only way that the scripts
appear to work for transformed names.
Thanks -
Josh
Has there been any further consideration of this? As I pointed out,
it should have no impact on gcc for the moment (and a positive impact
once $program_transform_name gets set by gcc). I'd like to help
clean up gcc support for non-canonical names, and adding this patch
would simplify things there.
Thanks -
Josh
_______________________________________________
DejaGnu mailing list
DejaGnu@gnu.org
http://lists.gnu.org/mailman/listinfo/dejagnu