This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [testsuite/binutils-all/objcopy.exp] Do the .exe thing for mingw too
- From: Christopher Faylor <cgf at redhat dot com>
- To: Danny Smith <danny_r_smith_2001 at yahoo dot co dot nz>
- Cc: binutils <binutils at sources dot redhat dot com>
- Date: Sat, 28 Jun 2003 12:58:20 -0400
- Subject: Re: [testsuite/binutils-all/objcopy.exp] Do the .exe thing for mingw too
- References: <20030628025239.22886.qmail@web21407.mail.yahoo.com>
On Sat, Jun 28, 2003 at 12:52:39PM +1000, Danny Smith wrote:
>Until a better solution is implemented, this would ease my inferiority complex.
>
>2003-06-28 Danny Smith <dannysmith@users.sourceforge.net>
>
> * binutils-all/objcopy.exp: Initialise $test_prog to testprog.exe
> on mingw targeted systems too.
Ok. It sure would be nice to have a more generic way to deal with this...
cgf
>Index: testsuite/binutils-all/objcopy.exp
>===================================================================
>RCS file: /cvs/src/src/binutils/testsuite/binutils-all/objcopy.exp,v
>retrieving revision 1.20
>diff -c -3 -p -r1.20 objcopy.exp
>*** testsuite/binutils-all/objcopy.exp 19 Jun 2003 07:45:50 -0000 1.20
>--- testsuite/binutils-all/objcopy.exp 28 Jun 2003 02:42:59 -0000
>*************** strip_test_with_saving_a_symbol
>*** 425,431 ****
>
> # Build a final executable.
>
>! if { [istarget *-*-cygwin] } {
> set test_prog "testprog.exe"
> } else {
> set test_prog "testprog"
>--- 425,431 ----
>
> # Build a final executable.
>
>! if { [istarget *-*-cygwin] || [istarget *-*-mingw32] } {
> set test_prog "testprog.exe"
> } else {
> set test_prog "testprog"
>
>http://mobile.yahoo.com.au - Yahoo! Mobile
>- Check & compose your email via SMS on your Telstra or Vodafone mobile.