Bonjour à tous,
Je tente d'installer la bibliothèque regex.
J'utilise cygwin pour l'outil sh
...
J'ai installé la dernière version de mingw dans le path ci-dessous.
J'ai modifié le makefilke.in
cc= CC = c:/mingw/bin/mingw32-gcc
regex.o est fabriqué
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8 >>mingw32-make -f makefile.in C:/mingw/bin/mingw32-gcc -g @DEFS@ -I. -I@srcdir@ -c regex.c mingw32-gcc: @DEFS@: No such file or directory regex.c:69: warning: conflicting types for built-in function 'malloc' mingw32-make: *** [regex.o] Error 1
Il n'aime la boucle for?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6 >>mingw32-make -f makefile.in check for d in doc test; do (cd $d; mingw32-make CPPFLAGS='' CFLAGS='-g' CC='C:/mingw /bin/mingw32-gcc' DEFS='@DEFS@' LDFLAGS='' LOADLIBES='' check); done d était inattendu. mingw32-make: *** [check] Error 255
Partager