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]

binutils installation patch for cross-compiling


The attached patch fixes a problem where
cross-compiling binutils from Unix targetting Mingw32
causes the cross tools to be installed with the ".exe"
file extension instead of no file extension at all
(i.e. i386-mingw-size.exe instead of
i386-mingw32-size).

With the configure command line options of:
--target=i386-mingw32 --host=i586-pc-linux-gnu
--build=i586-pc-linux-gnu, opcodes/configure was
passing "target" to ltconfig as "host" and ltconfig
thought the ".exe" was required because Mingw32 was
being targetted.  The patch passes "host" to ltconfig
in addition to "target" and ltconfig was changed to
make sure "target" *and* "host" were platforms which
required the ".exe" file extension.

Here is my attempt at a ChangeLog entry:

2000-07-20  Tom Williams   <binutilstom@yahoo.com>
	
	* configure (call to ../ltconfig): Changed call to
../ltconfig
	to set a new environment variable, "CROSSHOST", to
assist
	../ltconfig in determing the proper file extension
for the
	bintuils programs when cross compiling and targetting
a Win32
	target.


The patch is attached in GNU tar/GZip format.

Peace......

Tom

__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail  Free email you can access from anywhere!
http://mail.yahoo.com/

binutils.patch.tar.gz


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