This is a multi-part message in MIME format.
Le 11/8/24 à 11:34, BERTRAND Joël a écrit :
Bonjour à tous,
En attendant de réussir à réutiliser ma VM Windows 10, j'ai besoin de
compiler un utilitaire (un truc que j'ai écrit moi-même en C) pour qu'il puisse s'exécuter sous Windows.
J'ai donc installé mingw. Problème, mon outil est lié avec readline et
la compilation échoue avec :
hilbert:[~/cvs/sonde_renard] > make w64
x86_64-w64-mingw32-gcc -I. -Icommon/header -c -O2 -g -Werror -Wextra
-Wall -Wno-stringop-truncation -o main.obj main.c
main.c:6:10: fatal error: readline/readline.h: Aucun fichier ou dossier
de ce nom
6 | #include <readline/readline.h>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:41 : main.obj] Erreur 1
Je n'ai jamais utilisé Windows de ma vie, mais GNU readline (cf
https://tiswww.cwru.edu/php/chet/readline/rltop.html ...) est documenté
comme étant porté sous Windows et Cygwin
If you are running Windows, I recommend that you use Cygwin <http://www.cygwin.com>, who currently ship readline-8.1 <http://www.cygwin.com/packages/summary/libreadline-devel.html> for
x86 and x86_64, or, for a version that runs independently of Cygwin,
see the mingw64-{i686,x86_64}-readline packages.
Espérant avoir aidé,
Librement
--
Basile STARYNKEVITCH<
[email protected]>
8 rue de la Faïencerie
http://starynkevitch.net/Basile
92340 Bourg-la-Reine
https://github.com/bstarynk
France
http://refpersys.org/
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">Le 11/8/24 à 11:34, BERTRAND Joël a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:
[email protected]">
<pre wrap="" class="moz-quote-pre"> Bonjour à tous,
En attendant de réussir à réutiliser ma VM Windows 10, j'ai besoin de
compiler un utilitaire (un truc que j'ai écrit moi-même en C) pour qu'il puisse s'exécuter sous Windows.
J'ai donc installé mingw. Problème, mon outil est lié avec readline et
la compilation échoue avec :
hilbert:[~/cvs/sonde_renard] > make w64
x86_64-w64-mingw32-gcc -I. -Icommon/header -c -O2 -g -Werror -Wextra
-Wall -Wno-stringop-truncation -o main.obj main.c
<a class="moz-txt-link-freetext" href="main.c:6:10">main.c:6:10</a>: fatal error: readline/readline.h: Aucun fichier ou dossier
de ce nom
6 | #include <readline/readline.h>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [<a class="moz-txt-link-freetext" href="Makefile:41">Makefile:41</a> : main.obj] Erreur 1</pre>
</blockquote>
<p><br>
</p>
<p>Je n'ai jamais utilisé Windows de ma vie, mais GNU readline (cf <a
href="
https://tiswww.cwru.edu/php/chet/readline/rltop.html"
class="moz-txt-link-freetext">
https://tiswww.cwru.edu/php/chet/readline/rltop.html
</a>...) est documenté comme étant porté sous Windows et Cygwin<br>
</p>
<p>
<blockquote type="cite">
If you are running Windows, I recommend that you use
<a href="
http://www.cygwin.com">Cygwin</a>, who currently ship
<a href="
http://www.cygwin.com/packages/summary/libreadline-devel.html">
readline-8.1</a>
for x86 and x86_64,
or, for a version that runs independently of Cygwin, see the
mingw64-{i686,x86_64}-readline packages.
</blockquote>
</p>
<p>Espérant avoir aidé,</p>
<p><br>
</p>
<p>Librement<br>
</p>
<pre class="moz-signature" cols="72">--
Basile STARYNKEVITCH <a class="moz-txt-link-rfc2396E" href="mailto:
[email protected]"><
[email protected]></a>
8 rue de la Faïencerie <a class="moz-txt-link-freetext" href="
http://starynkevitch.net/Basile">http://starynkevitch.net/Basile</a>
92340 Bourg-la-Reine <a class="moz-txt-link-freetext" href="
https://github.com/bstarynk">https://github.com/bstarynk</a>
France <a class="moz-txt-link-freetext" href="
http://refpersys.org/">http://refpersys.org/</a></pre>
</body>
</html>
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)