How to run a command from ld-bootstrap.exp?

David O'Brien obrien@FreeBSD.org
Sat Mar 31 19:10:00 GMT 2001


At the moment, FreeBSD fails the ld-bootstrap --static case.  This is
because the static NON-ABI compliant binary isn't branded as needed.
What I need to do, is if the --static test is being run on a FreeBSD ELF
host is to run ``brandelf -t FreeBSD <ld_binary_name>'' before the binary
is run.  I won't embarrass myself with the crapy expect code I tried to
do this with. :-)  But am looking for guidance on how to do it.

-- 
-- David  (obrien@FreeBSD.org)



More information about the Binutils mailing list