<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Aug 12, 2013, at 9:34 AM, Martin Ward wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">10.27.1<br><br>Bison 2.7.1, still need ac_cv_prog_lex_is_flex=yes on the command line other wise it won't configure<br>Bison 3.0 is even worse, not only that, couldn't get it to cross-compile, seems to run an architecture dependant to get generate doc/help files, but also needs ac_cv_prog_lex_is_flex=yes to succeed, but complains about a hard coded m4 invocation(cross-tools) from flex(installed in tools) in generating some test files</span></blockquote></div><br><div>Hello Martin,</div><div><br></div><div>I was looking at the bison mailing list and others are complaining about the path to M4.</div><div><br></div><div>Not sure the best way to do it. It is hard coding to /cross-tools/bin/m4 at the moment, which won't be available in chroot or temp-system, and the target system may not be able to run it anyway.</div><div><br></div><div>Someone mentioned doing: M4="putstuffhere" ./configure ......</div><div><br></div><div>As it stands,  M4 will be defined in config.h as #define M4 "/cross-tools/bin/m4"   for example.</div><div><br></div><div>Do the same thing for Flex if required.</div><div><br></div><div><br></div><div>As far as bison.help... that file is already there when extracting the source, if we comment out:</div><div><br></div><div>$(top_srcdir)/doc/bison.help: src/bison$(EXEEXT)</div><div><br></div><div>Then it will not attempt to run src/bison (which causes problems for those targets which can't run it as we are cross-compiling) to regenerate bison.help.</div><div><br></div><div>Sincerely,</div><div><br></div><div>William Harrington</div></body></html>