Explain why some binutils are blacklisted

svn path=/trunk/; revision=28895
This commit is contained in:
Hervé Poussineau 2007-09-06 08:25:57 +00:00
parent 0eccb4aa9d
commit 6bd9e7bed6

View file

@ -890,14 +890,20 @@ bool
MingwBackend::IsSupportedBinutilsVersion ( const string& binutilsVersion )
{
if ( manualBinutilsSetting ) return true;
/* linux */
if ( binutilsVersion.find('.') != std::string::npos )
{
/* TODO: blacklist versions on version number instead of date */
/* TODO: blacklist versions on version number instead of date */
return true;
}
/*
* - Binutils older than 2003/10/01 have broken windres which can't handle
* icons with alpha channel.
* - Binutils between 2004/09/02 and 2004/10/08 have broken handling of
* forward exports in dlltool.
*/
if ( ( ( strcmp ( binutilsVersion.c_str (), "20040902") >= 0 ) &&
( strcmp ( binutilsVersion.c_str (), "20041008") <= 0 ) ) ||
( strcmp ( binutilsVersion.c_str (), "20031001") < 0 ) )