This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
How to run a command from ld-bootstrap.exp?
- To: GNU Binutils mailing list <binutils at sourceware dot cygnus dot com>
- Subject: How to run a command from ld-bootstrap.exp?
- From: "David O'Brien" <obrien at FreeBSD dot org>
- Date: Sat, 31 Mar 2001 19:09:44 -0800
- Organization: The NUXI BSD group
- Reply-To: obrien at FreeBSD dot org
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)