This is the mail archive of the binutils@sourceware.org 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]

[patch binutils]: Add --preprocessor-arg option to windres tool


Hello,

This patch adds feature to windres tool, so that user can pass via
--preprocessor-arg
additional options to the preprocessor.  This feature is necessary to
have a way to
invoke windres for multilib build so, that the bitness (-m32/-m64) can
be passed to
preprocessor.

ChangLog

2011-04-08  Kai Tietz

	* windres.c (usage): Add new --preprocessor-arg option.
	(option_values): Add new OPTION_PREPROCESSOR_ARG enumerator.
	(option long_options): Add preprocessor-arg option.
	(main): Handle it.

Tested for x86_64-w64-mingw32 and i686-w64-mingw32. Ok for apply?

Regards,
Kai

Attachment: windres_cpp.txt
Description: Text document


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