<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>As a follow-up to my previous email, now regarding extras/curs.</p>
<p>The linking issue is the same: current distributions link to both
libncurses and libtinfo.</p>
<p>Rather than specifying this manually, the better option seems to
run `ncurses6-config --libs`.<br>
</p>
<div class="moz-cite-prefix">Fabrice<br>
</div>
<blockquote type="cite"
cite="mid:3cafc3d6-7d13-feb6-91bb-ca17d001b975@gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</blockquote>
[This was about extras/ncurses]<br>
<blockquote type="cite"
cite="mid:3cafc3d6-7d13-feb6-91bb-ca17d001b975@gmail.com">
<p>On most Linux platforms, linking to libncurses now also
requires linking to libtinfo.</p>
<p>This can be easily checked by running 'ncurses6-config --libs'.
<br>
</p>
<p>I thought it helpful to modify Mmakefile and sample/Mmakefile
to mention this.</p>
<p>Also, for users with less experience of the building process, I
added a couple of lines of building advice in the README, as
building code in 'extras' requires user intervention.</p>
<p>A note on MGNUCFLAGS: this is not the first time that I've
noticed the following gcc error message on running 'mmake' (here
in extras/curses/sample/ but I've run into such issues
elsewhere):</p>
<p><span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"> mgnuc
--grade asm_fast.gc -I.. -- -c smalltest.c -o
smalltest.o </span><br>
gcc: erreur: option « -- » non reconnue sur la ligne de
commande<br>
[error: option '--' not reckognized on command line]<br>
</span></p>
<p> This is caused by the fact that the mgnuc script inserts
'-I..' before '--' while it apparently should do this after.</p>
<p>Copying the command line by hand with '-I..' after '--' fixes
the issue. <br>
</p>
<p>I'm mentioning this as a possible mgnuc bug, but it may be that
I missed something too. <br>
</p>
<p>For the proposed patch, commenting out MGNUCFLAGS in
sample/Mmakefile 'just worked'.</p>
<p>Fabrice<br>
</p>
</blockquote>
</body>
</html>