<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<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>
</body>
</html>