Configure script option checking does not work

2014-07-23 Thread Jonas Wagner
Hello,

The binutils configure script fails to check for unrecognized options:
./configure --enable-nonexisting-feature runs just fine.

This is especially confusing as there are some configure options which are
not documented, e.g., --enable-plugins or --enable-threads. It would be
great to protect users from mistakes when using such options.

Note that the configure script has a --disable-option-checking flag
documented, which suggests that it should do option checking.

I don't have much experience with autoconf and related tools, but would be
willing to invest some time to patch this if people think it's useful.

Cheers,
Jonas
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


.rsrc section ignored in library members for all Windows target.

2014-07-23 Thread Benjamin Gerard
Hello,

It seems the .rsrc section is ignored when it comes from an library member
for all Windows targets. I have quiet a variety win32/win64 targets
(i686-w64-mingw32, i686-pc-mingw32, i686-pc-cygwin, x86_64-w64-mingw32)
from cygwin32. I have also tested a fresh compile of i686-w64-mingw32-ld
from binutils-2.4 and from binutils-git, all with the same result.

Best regards,

-- GB.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


Re: Configure script option checking does not work

2014-07-23 Thread Andreas Schwab
Jonas Wagner ltlygw...@gmail.com writes:

 The binutils configure script fails to check for unrecognized options:
 ./configure --enable-nonexisting-feature runs just fine.

This is deliberate, since the option may be accepted by a subdir
configure script.

 This is especially confusing as there are some configure options which are
 not documented, e.g., --enable-plugins or --enable-threads.

They are documented by the subdir configure scripts that recognize them.
Use --help=recursive to see them all.

Andreas.

-- 
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
And now for something completely different.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils