This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: grep-3.0-2 issues within Makefile
On 29/05/2017 08:34, Daniel Fort wrote:
grep-3.0-2 binary will not function as expected when the -v option is
used in a Makefile.
Please note the last grep announcement
https://sourceware.org/ml/cygwin-announce/2017-02/msg00035.html
and the changes between text and binary mounts.
Resolution - downgrade to grep-3.0-1.
When using Cygwin to build Magic Lantern users stated reporting a
build errors on new Cygwin installs around November 2016. The
resolution was to downgrade grep to the previous version.
The discussion and instructions on how to prepare Cygwin to compile
Magic Lantern are in this forum topic:
http://www.magiclantern.fm/forum/index.php?topic=15894.msg154435#msg154435
Using a Cygwin install that includes the default grep-3.0-1 will
result in errors when running the follow Makefile code:
localsyms: libtcctmp.o
@$(READELF) $< -Ws | $(AWK) "{print \$$8}" | sort | uniq \
| grep -v "^tcc_new$$" \
| grep -v "^tcc_delete$$" \
| grep -v "^tcc_add_file$$" \
| grep -v "^tcc_relocate$$" \
| grep -v "^tcc_get_symbol$$" \
| grep -v "^tcc_add_symbol$$" \
| grep -v "^tcc_set_options$$" \
| grep -v "^tcc_load_offline_section$$" \
> $@
--
and what is the error ?
Regards
Marco
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple