Re: [warzone2100-dev] [Warzone2100-commits] SF.net SVN: warzone2100:[9641] branches/2.3/win32/__BUILD_SCRIPT

2010-02-19 Thread Giel van Schijndel
On Fri, Feb 05, 2010 at 11:59:56PM +, bugina...@users.sourceforge.net wrote:
 Revision: 9641
   
 http://warzone2100.svn.sourceforge.net/warzone2100/?rev=9641view=rev
 Author:   buginator
 Date: 2010-02-05 23:59:55 + (Fri, 05 Feb 2010)
 
 Log Message:
 ---
 Change HOST_TRIPLET to be i586-mingw32msvc instead of mingw32 as the default 
 HOST_TRIPLET
 
 Modified Paths:
 --
 branches/2.3/win32/__BUILD_SCRIPT

On Sun, Feb 07, 2010 at 05:27:55PM +, bugina...@users.sourceforge.net wrote:
 Revision: 9722
   
 http://warzone2100.svn.sourceforge.net/warzone2100/?rev=9722view=rev
 Author:   buginator
 Date: 2010-02-07 17:27:54 + (Sun, 07 Feb 2010)
 
 Log Message:
 ---
 Update cross-compiler build script to make use of --with-distributor
 
 Modified Paths:
 --
 branches/2.3/win32/__BUILD_SCRIPT

On Sun, Feb 07, 2010 at 05:35:54PM +, bugina...@users.sourceforge.net wrote:
 Revision: 9723
   
 http://warzone2100.svn.sourceforge.net/warzone2100/?rev=9723view=rev
 Author:   buginator
 Date: 2010-02-07 17:35:44 + (Sun, 07 Feb 2010)
 
 Log Message:
 ---
 fix a typo from previous commit
 
 Modified Paths:
 --
 branches/2.3/win32/__BUILD_SCRIPT

None of these ^^ commits are necessary.

Using another HOST_TRIPLET than mingw32 can be achieved by specifiying
HOST_TRIPLET=${whatever_you_want} as command line argument to
__BUILD_SCRIPT.

Using a non-default distributor (remember that configure.ac already
uses UNKNOWN as its default) can be accomplished by specifying
--with-distributor=$distributor as command line argument to
__BUILD_SCRIPT.

The build script will pass *all* its arguments to the ./configure
script, so no special hacks are required to pass paramters to
./configure. Furthermore all arguments of the form \w+=.* (e.g.
VAR=val) will cause environment variables of that name to be
overridden.

Thus rather than complicating the cross build script any further I
suggest to revert the above commits.

-- 
Giel


signature.asc
Description: Digital signature
___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev


Re: [warzone2100-dev] [Warzone2100-commits] SF.net SVN: warzone2100:[9641] branches/2.3/win32/__BUILD_SCRIPT

2010-02-19 Thread buginator
On 2/19/10, Giel van Schijndel m...@x.eu wrote:

 None of these ^^ commits are necessary.

  Using another HOST_TRIPLET than mingw32 can be achieved by specifiying
  HOST_TRIPLET=${whatever_you_want} as command line argument to
  __BUILD_SCRIPT.

Well, while not 100% necessary, it didn't really make sense to keep
setting the HOST_TRIPLET, when it was always the same thing for both
of the people that built the windows builds.


  Using a non-default distributor (remember that configure.ac already
  uses UNKNOWN as its default) can be accomplished by specifying
  --with-distributor=$distributor as command line argument to
  __BUILD_SCRIPT.

  The build script will pass *all* its arguments to the ./configure
  script, so no special hacks are required to pass paramters to
  ./configure. Furthermore all arguments of the form \w+=.* (e.g.
  VAR=val) will cause environment variables of that name to be
  overridden.

This didn't work, in win32/ I did: ./__BUILD_SCRIPT
--with-distributor=blah and it would error out with unknown option.
That is why I did it like that.

___
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev