This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [testsuite/binutils-all/objcopy.exp] Do the .exe thing for mingw too


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]