Re: [Mingw-w64-public] bug in 20160708 x32 x32, STDERR not defined in stdio.h

2016-07-15 Thread lh mouse
It is not a bug. The macro for the standard error stream is `stderr` rather 
than `STDERR`.

--   
Best regards,
lh_mouse
2016-07-16

-
发件人:Jim Michaels 
发送日期:2016-07-16 11:59
收件人:mingw64 users
抄送:
主题:[Mingw-w64-public] bug in 20160708 x32 x32,
STDERR not defined in stdio.h

#include
fprintf(STDERR, "eolconvert:ERROR: unable to open file 
\"%s\" for input\r\n", "abc");

STDERR is not defined in stdio.h.

also, why does 0708's date say 7.0.0 20160609? I suspect there's a 
version problem.

Fri 07/15/2016 
17:26:18.94|C:\Users\Kristina\Desktop\prj\eolconvert\1.0\win|>g++ -v 
-save-temps -DTEST -s -static -lstdc++ -std=c++11 -o 32\eolconvert.exe
eolconvert.cpp
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=c:/gcc-7-win32/bin/../libexec/gcc/i686-w64-mingw32/7.0.0/lto-wrapper.exe
Target: i686-w64-mingw32
Configured with: /home/cauchy/vcs/svn/gcc/trunk/configure 
--prefix=/home/cauchy/native/gcc-7-win32 
--with-sysroot=/home/cauchy/native/gcc-7-win32 --build=x
86_64-unknown-linux-gnu --host=i686-w64-mingw32 
--target=i686-w64-mingw32 --disable-multilib --disable-nls 
--disable-win32-registry --disable-gcov-tool --e
nable-checking=release --enable-languages=c,c++,fortran 
--enable-fully-dynamic-string --with-arch=core2 --with-tune=generic
Thread model: win32
gcc version 7.0.0 20160609 (experimental) (GCC)
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-D' 'TEST' '-s' '-static' 
'-std=c++11' '-o' '32\eolconvert.exe' '-mtune=generic' '-march=core2'
  c:/gcc-7-win32/bin/../libexec/gcc/i686-w64-mingw32/7.0.0/cc1plus.exe 
-E -quiet -v -iprefix 
c:\gcc-7-win32\bin\../lib/gcc/i686-w64-mingw32/7.0.0/ -isysroot
  c:\gcc-7-win32\bin\../../gcc-7-win32 -U_REENTRANT -D TEST 
eolconvert.cpp -mtune=generic -march=core2 -std=c++11 -fpch-preprocess 
-o eolconvert.ii
ignoring duplicate directory 
"c:/gcc-7-win32/lib/gcc/../../lib/gcc/i686-w64-mingw32/7.0.0/../../../../include/c++/7.0.0"
ignoring duplicate directory 
"c:/gcc-7-win32/lib/gcc/../../lib/gcc/i686-w64-mingw32/7.0.0/../../../../include/c++/7.0.0/i686-w64-mingw32"
ignoring duplicate directory 
"c:/gcc-7-win32/lib/gcc/../../lib/gcc/i686-w64-mingw32/7.0.0/../../../../include/c++/7.0.0/backward"
ignoring duplicate directory 
"c:/gcc-7-win32/lib/gcc/../../lib/gcc/i686-w64-mingw32/7.0.0/include"
ignoring nonexistent directory 
"c:\gcc-7-win32\bin\../../gcc-7-win32/home/cauchy/native/gcc-7-win32/lib/gcc/i686-w64-mingw32/7.0.0/../../../../include"
ignoring duplicate directory 
"c:/gcc-7-win32/lib/gcc/../../lib/gcc/i686-w64-mingw32/7.0.0/include-fixed"
ignoring duplicate directory 
"c:/gcc-7-win32/lib/gcc/../../lib/gcc/i686-w64-mingw32/7.0.0/../../../../i686-w64-mingw32/include"
ignoring nonexistent directory 
"c:\gcc-7-win32\bin\../../gcc-7-win32/mingw/include"
#include "..." search starts here:
#include <...> search starts here:
  
c:\gcc-7-win32\bin\../lib/gcc/i686-w64-mingw32/7.0.0/../../../../include/c++/7.0.0
  
c:\gcc-7-win32\bin\../lib/gcc/i686-w64-mingw32/7.0.0/../../../../include/c++/7.0.0/i686-w64-mingw32
  
c:\gcc-7-win32\bin\../lib/gcc/i686-w64-mingw32/7.0.0/../../../../include/c++/7.0.0/backward
  c:\gcc-7-win32\bin\../lib/gcc/i686-w64-mingw32/7.0.0/include
  c:\gcc-7-win32\bin\../lib/gcc/i686-w64-mingw32/7.0.0/include-fixed
  
c:\gcc-7-win32\bin\../lib/gcc/i686-w64-mingw32/7.0.0/../../../../i686-w64-mingw32/include
End of search list.
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-D' 'TEST' '-s' '-static' 
'-std=c++11' '-o' '32\eolconvert.exe' '-mtune=generic' '-march=core2'
  c:/gcc-7-win32/bin/../libexec/gcc/i686-w64-mingw32/7.0.0/cc1plus.exe 
-fpreprocessed eolconvert.ii -quiet -dumpbase eolconvert.cpp 
-mtune=generic -march=co
re2 -auxbase eolconvert -std=c++11 -version -o eolconvert.s
GNU C++11 (GCC) version 7.0.0 20160609 (experimental) (i686-w64-mingw32)
 compiled by GNU C version 7.0.0 20160609 (experimental), GMP 
version 6.1.0, MPFR version 3.1.4-p2, MPC version 1.0.3, isl version 0.15
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C++11 (GCC) version 7.0.0 20160609 (experimental) (i686-w64-mingw32)
 compiled by GNU C version 7.0.0 20160609 (experimental), GMP 
version 6.1.0, MPFR version 3.1.4-p2, MPC version 1.0.3, isl version 0.15
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 85f4626b884448f9672ebbd3379aa3ed
eolconvert.cpp:106:146: error: explicit qualification in declaration of 
'std::__cxx11::string str::str_replace(std::__cxx11::string&, 
std::__cxx11::string&
, std::__cxx11::string&, size_t, bool, bool)'
   std::string str::str_replace(std::string& target, std::string& 
findwhat, std::string& replacewith, size_t pos=0, bool iCase=false, bool 
all=true) {
^
eolconvert.cpp: In function 'int main(int, char**)':
eolconvert.cpp:191:12: error: 'STDERR' was not declared in this scope
 

[Mingw-w64-public] bug in 20160708 x32 x32, STDERR not defined in stdio.h

2016-07-15 Thread Jim Michaels
#include
fprintf(STDERR, "eolconvert:ERROR: unable to open file 
\"%s\" for input\r\n", "abc");

STDERR is not defined in stdio.h.

also, why does 0708's date say 7.0.0 20160609? I suspect there's a 
version problem.

Fri 07/15/2016 
17:26:18.94|C:\Users\Kristina\Desktop\prj\eolconvert\1.0\win|>g++ -v 
-save-temps -DTEST -s -static -lstdc++ -std=c++11 -o 32\eolconvert.exe
eolconvert.cpp
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=c:/gcc-7-win32/bin/../libexec/gcc/i686-w64-mingw32/7.0.0/lto-wrapper.exe
Target: i686-w64-mingw32
Configured with: /home/cauchy/vcs/svn/gcc/trunk/configure 
--prefix=/home/cauchy/native/gcc-7-win32 
--with-sysroot=/home/cauchy/native/gcc-7-win32 --build=x
86_64-unknown-linux-gnu --host=i686-w64-mingw32 
--target=i686-w64-mingw32 --disable-multilib --disable-nls 
--disable-win32-registry --disable-gcov-tool --e
nable-checking=release --enable-languages=c,c++,fortran 
--enable-fully-dynamic-string --with-arch=core2 --with-tune=generic
Thread model: win32
gcc version 7.0.0 20160609 (experimental) (GCC)
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-D' 'TEST' '-s' '-static' 
'-std=c++11' '-o' '32\eolconvert.exe' '-mtune=generic' '-march=core2'
  c:/gcc-7-win32/bin/../libexec/gcc/i686-w64-mingw32/7.0.0/cc1plus.exe 
-E -quiet -v -iprefix 
c:\gcc-7-win32\bin\../lib/gcc/i686-w64-mingw32/7.0.0/ -isysroot
  c:\gcc-7-win32\bin\../../gcc-7-win32 -U_REENTRANT -D TEST 
eolconvert.cpp -mtune=generic -march=core2 -std=c++11 -fpch-preprocess 
-o eolconvert.ii
ignoring duplicate directory 
"c:/gcc-7-win32/lib/gcc/../../lib/gcc/i686-w64-mingw32/7.0.0/../../../../include/c++/7.0.0"
ignoring duplicate directory 
"c:/gcc-7-win32/lib/gcc/../../lib/gcc/i686-w64-mingw32/7.0.0/../../../../include/c++/7.0.0/i686-w64-mingw32"
ignoring duplicate directory 
"c:/gcc-7-win32/lib/gcc/../../lib/gcc/i686-w64-mingw32/7.0.0/../../../../include/c++/7.0.0/backward"
ignoring duplicate directory 
"c:/gcc-7-win32/lib/gcc/../../lib/gcc/i686-w64-mingw32/7.0.0/include"
ignoring nonexistent directory 
"c:\gcc-7-win32\bin\../../gcc-7-win32/home/cauchy/native/gcc-7-win32/lib/gcc/i686-w64-mingw32/7.0.0/../../../../include"
ignoring duplicate directory 
"c:/gcc-7-win32/lib/gcc/../../lib/gcc/i686-w64-mingw32/7.0.0/include-fixed"
ignoring duplicate directory 
"c:/gcc-7-win32/lib/gcc/../../lib/gcc/i686-w64-mingw32/7.0.0/../../../../i686-w64-mingw32/include"
ignoring nonexistent directory 
"c:\gcc-7-win32\bin\../../gcc-7-win32/mingw/include"
#include "..." search starts here:
#include <...> search starts here:
  
c:\gcc-7-win32\bin\../lib/gcc/i686-w64-mingw32/7.0.0/../../../../include/c++/7.0.0
  
c:\gcc-7-win32\bin\../lib/gcc/i686-w64-mingw32/7.0.0/../../../../include/c++/7.0.0/i686-w64-mingw32
  
c:\gcc-7-win32\bin\../lib/gcc/i686-w64-mingw32/7.0.0/../../../../include/c++/7.0.0/backward
  c:\gcc-7-win32\bin\../lib/gcc/i686-w64-mingw32/7.0.0/include
  c:\gcc-7-win32\bin\../lib/gcc/i686-w64-mingw32/7.0.0/include-fixed
  
c:\gcc-7-win32\bin\../lib/gcc/i686-w64-mingw32/7.0.0/../../../../i686-w64-mingw32/include
End of search list.
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-D' 'TEST' '-s' '-static' 
'-std=c++11' '-o' '32\eolconvert.exe' '-mtune=generic' '-march=core2'
  c:/gcc-7-win32/bin/../libexec/gcc/i686-w64-mingw32/7.0.0/cc1plus.exe 
-fpreprocessed eolconvert.ii -quiet -dumpbase eolconvert.cpp 
-mtune=generic -march=co
re2 -auxbase eolconvert -std=c++11 -version -o eolconvert.s
GNU C++11 (GCC) version 7.0.0 20160609 (experimental) (i686-w64-mingw32)
 compiled by GNU C version 7.0.0 20160609 (experimental), GMP 
version 6.1.0, MPFR version 3.1.4-p2, MPC version 1.0.3, isl version 0.15
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C++11 (GCC) version 7.0.0 20160609 (experimental) (i686-w64-mingw32)
 compiled by GNU C version 7.0.0 20160609 (experimental), GMP 
version 6.1.0, MPFR version 3.1.4-p2, MPC version 1.0.3, isl version 0.15
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 85f4626b884448f9672ebbd3379aa3ed
eolconvert.cpp:106:146: error: explicit qualification in declaration of 
'std::__cxx11::string str::str_replace(std::__cxx11::string&, 
std::__cxx11::string&
, std::__cxx11::string&, size_t, bool, bool)'
   std::string str::str_replace(std::string& target, std::string& 
findwhat, std::string& replacewith, size_t pos=0, bool iCase=false, bool 
all=true) {
^
eolconvert.cpp: In function 'int main(int, char**)':
eolconvert.cpp:191:12: error: 'STDERR' was not declared in this scope
 fprintf(STDERR, "eolconvert:ERROR: unable to open file \"%s\" for 
input\r\n", argv[i]);
 ^~
eolconvert.cpp:203:12: error: 'STDERR' was not declared in this scope
 fprintf(STDERR, "eolconvert:ERROR: unable to open file \"%s\" for 
output\r\n", argv[i]);
 ^~



also, const after a declaration errors.

eolconvert.cpp:6:33: error: expected ',' or '...' before 'const'
   int 

[Mingw-w64-public] updated TDM-GCC??

2016-07-15 Thread Burkhardt, Glenn B UTAS
John E. / TDM - 

Any chance that there will be another TDM-GCC anytime soon?  And it would be 
really great if gdb was build with the readline library  


...tia


--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] [MSYS2] How do I install makefinfo

2016-07-15 Thread sisyphus1

-Original Message- 
From: Vincent Torri
Sent: Friday, July 15, 2016 8:41 PM
To: mingw-w64-public@lists.sourceforge.net
Subject: Re: [Mingw-w64-public] [MSYS2] How do I install makefinfo

> isn't it in the texinfo package ?

Indeed it is - thank you.

Having installed texinfo, the build now proceeds for an extra second or so 
before terminating with:

#
Making all in doc
make[1]: Entering directory 'C:/_64/comp/mpfr-10613/doc'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory 'C:/_64/comp/mpfr-10613/doc'
Making all in src
make[1]: Entering directory 'C:/_64/comp/mpfr-10613/src'
C:/_64/gcc-mingw-611/gcc-6-win64/bin/make  all-am
make[2]: Entering directory 'C:/_64/comp/mpfr-10613/src'
C:/_64/msys64/usr/bin/sh.exe ../libtool  --tag=CC   --mode=compile 
gcc -D__USE_MINGW_ANSI_STDIO -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
-DLT_OBJDIR=\".libs/\" 
 -DHAVE_DOUBLE_IEEE_LITTLE_ENDIAN=1 -DHAVE_LITTLE_ENDIAN=1 
-DTIME_WITH_SYS_TIME=1 
 -DHAVE_LOCALE_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 
-DHAVE_STRUCT_LCONV_DECIMAL_POINT=1 
 -DHAVE_STRUCT_LCONV_THOUSANDS_SEP=1 -DHAVE_STDINT_H=1 -DHAVE_VA_COPY=1 
-DHAVE_SETLOCALE=1 
 -DHAVE_GETTIMEOFDAY=1 -DHAVE_SIGNAL=1 -DHAVE_LONG_LONG=1 -DHAVE_INTMAX_T=1  
-DMPFR_HAVE_INTMAX_MAX=1 -DMPFR_PRINTF_MAXLM=\"j\" -DMPFR_HAVE_NORETURN=1 
-DMPFR_HAVE_BUILTIN_UNREACHABLE=1 
 -DMPFR_HAVE_CONSTRUCTOR_ATTR=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENORMS=1 
-DHAVE_DENORMS_FLT=1 
 -DHAVE_SIGNEDZ=1 -DHAVE_ROUND=1 -DHAVE_TRUNC=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 
 -DHAVE_NEARBYINT=1 -DHAVE_LDOUBLE_IEEE_EXT_LITTLE=1 -DMPFR_USE_THREAD_SAFE=1 
 -DMPFR_USE_C11_THREAD_SAFE=1 -DMPFR_WANT_DECIMAL_FLOATS=1 
-DMPFR_WANT_FLOAT128=1 
 -DMPFR_USE_STATIC_ASSERT=1 -DHAVE_ATTRIBUTE_MODE=1 -DPRINTF_L=1 -DPRINTF_T=1 
 -DHAVE___GMPN_SBPI1_DIVAPPR_Q=1 -DMPFR_LONG_WITHIN_LIMB=1 -I.   
-IC:/_64/msys_611/1.0/local/include 
  -Wall -Wmissing-prototypes -Wpointer-arith -O2 -pedantic -fomit-frame-pointer 
 -m64 -mtune=sandybridge -march=sandybridge -MT exceptions.lo -MD -MP -MF 
.deps/exceptions.Tpo -c -o exceptions.lo exceptions.c
Xexceptions.Tpo -c -o exceptions.lo exceptions.lo
libtool: warning: libobj name 'exceptions.Tpo -c -o exceptions.lo 
exceptions.lo' may not contain shell special characters.
rm: unknown option -- c
Try 'rm --help' for more information.
libtool: compile: 
 gcc -D__USE_MINGW_ANSI_STDIO -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
"-DLT_OBJDIR=\\.libs/\" -DHAVE_DOUBLE_IEEE_LITTLE_ENDIAN=1 
-DHAVE_LITTLE_ENDIAN=1 
 -DTIME_WITH_SYS_TIME=1 -DHAVE_LOCALE_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STDARG=1 
-DHAVE_SYS_TIME_H=1 
 -DHAVE_STRUCT_LCONV_DECIMAL_POINT=1 -DHAVE_STRUCT_LCONV_THOUSANDS_SEP=1 
-DHAVE_STDINT_H=1 
 -DHAVE_VA_COPY=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_SIGNAL=1 
-DHAVE_LONG_LONG=1 
 -DHAVE_INTMAX_T=1 -DMPFR_HAVE_INTMAX_MAX=1 -DMPFR_PRINTF_MAXLM=\"j\" 
-DMPFR_HAVE_NORETURN=1 
 -DMPFR_HAVE_BUILTIN_UNREACHABLE=1 -DMPFR_HAVE_CONSTRUCTOR_ATTR=1 
-DMPFR_HAVE_FESETROUND=1 
 -DHAVE_DENORMS=1 -DHAVE_DENORMS_FLT=1 -DHAVE_SIGNEDZ=1 -DHAVE_ROUND=1 
-DHAVE_TRUNC=1 
 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_NEARBYINT=1 
-DHAVE_LDOUBLE_IEEE_EXT_LITTLE=1 
 -DMPFR_USE_THREAD_SAFE=1 -DMPFR_USE_C11_THREAD_SAFE=1 
-DMPFR_WANT_DECIMAL_FLOATS=1 
 -DMPFR_WANT_FLOAT128=1 -DMPFR_USE_STATIC_ASSERT=1 -DHAVE_ATTRIBUTE_MODE=1 
-DPRINTF_L=1 
 -DPRINTF_T=1 -DHAVE___GMPN_SBPI1_DIVAPPR_Q=1 -DMPFR_LONG_WITHIN_LIMB=1 -I.  
-IC:/_64/msys_611/1.0/local/include -Wall -Wmissing-prototypes -Wpointer-arith 
 -O2 -pedantic -fomit-frame-pointer -m64 -mtune=sandybridge -march=sandybridge 
 -MT exceptions.lo -MD -MP -MF .deps/exceptions.Tpo -c -o exceptions.lo 
exceptions.c" -o exceptions.Tpo -c -o exceptions.lo exceptions.o
gcc.exe: error: exceptions.o: No such file or directory
gcc.exe: fatal error: no input files
compilation terminated.
rm: unknown option -- c
Try 'rm --help' for more information.
make[2]: *** [Makefile:769: exceptions.lo] Error 1
make[2]: Leaving directory 'C:/_64/comp/mpfr-10613/src'
make[1]: *** [Makefile:441: all] Error 2
make[1]: Leaving directory 'C:/_64/comp/mpfr-10613/src'
make: *** [Makefile:484: all-recursive] Error 1
#

This is the same error as I get in the msys shell when trying to build with 
gcc-6.1.1.

However, as I noted in my first post, there's no such problem with my 
mingw-w64 port of gcc-5.3.0.
I'm therefore predisposed to thinking that it's *not* an mpfr bug.

Maybe some bug in the way libtool interacts with gcc-6.1.1 ??
I mean, this excerpt from the above looks really odd to me:

libtool: warning: libobj name 'exceptions.Tpo -c -o exceptions.lo 
exceptions.lo' may not contain shell special characters.
rm: unknown option -- c
Try 'rm --help' for more information.

And I don't yet rule out the possibility that it's a PEBCAK - though I 
*have* made considerable efforts to ensure that's not the case.

Cheers,
Rob





--
What NetFlow Analyzer 

Re: [Mingw-w64-public] [MSYS2] How do I install makefinfo

2016-07-15 Thread Vincent Torri
isn't it in the texinfo package ?

Vincent Torri

On Fri, Jul 15, 2016 at 11:31 AM,   wrote:
> Hi,
>
> Using dongsheng's gmp-6.1.1 (win32 threads, seh) build.
>
> I'm trying to build mpfr (svn revision 10613) in the msys2 shell and getting
> hammered early on in the 'make' stage with:
>
> ###
> make[1]: Entering directory 'C:/_64/comp/mpfr-10613/doc'
> restore=: && backupdir=".am$$" && \
> am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \
> rm -rf $backupdir && mkdir $backupdir && \
> if (C:/_64/msys64/usr/bin/sh.exe /c/_64/comp/mpfr-10613/missing
> makeinfo --version) >/dev/null 2>&1; then \
>   for f in mpfr.info mpfr.info-[0-9] mpfr.info-[0-9][0-9] mpfr.i[0-9]
> mpfr.i[0-9][0-9]; do \
> if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
>   done; \
> else :; fi && \
> cd "$am__cwd"; \
> if C:/_64/msys64/usr/bin/sh.exe /c/_64/comp/mpfr-10613/missing
> akeinfo  --enable-encoding -I . \
> -o mpfr.info mpfr.texi; \
> then \
>   rc=0; \
>   CDPATH="${ZSH_VERSION+.}:" && cd .; \
> else \
>   rc=$?; \
>   CDPATH="${ZSH_VERSION+.}:" && cd . && \
>   $restore $backupdir/* `echo "./mpfr.info" | sed 's|[^/]*$||'`; \
> fi; \
> rm -rf $backupdir; exit $rc
> /c/_64/comp/mpfr-10613/missing: line 81: makeinfo: command not found
> WARNING: 'makeinfo' is missing on your system.
>  You should only need it if you modified a '.texi' file, or
>  any other file indirectly affecting the aspect of the manual.
>  You might want to install the Texinfo package:
>  
>  The spurious makeinfo call might also be the consequence of
>  using a buggy 'make' (AIX, DU, IRIX), in which case you might
>  want to install GNU make:
>  
> make[1]: *** [Makefile:365: mpfr.info] Error 127
> make[1]: Leaving directory 'C:/_64/comp/mpfr-10613/doc'
> make: *** [Makefile:484: all-recursive] Error 1
> ###
>
> Now, I'm not so sure that I really do need makeinfo, but my old msys shell
> seems to have it and I'm therefore guessing it must surely be available for
> msys2.
> At least, if I can install makeinfo, I will surely get past this error.
> However:
>
> #
> sisyphus@Owner-PC311012 MSYS /c/_64/comp/mpfr-10613
> $ pacman -Ss makeinfo
>
> sisyphus@Owner-PC311012 MSYS /c/_64/comp/mpfr-10613
> #
>
> (I guess it's possible that I had built makeinfo from source for that old
> msys shell.)
>
> This same mpfr source builds trivially in the msys shell using gcc-5.3.0
> (posix threads, sjlj) but when I switch to the above 6.1.1 compiler I have
> no end of trouble (both in msys and msys2 shells).
> And the only way I could build gmp-6.1.1 with this gcc-6.1.1 compiler was to
> build in the msys2 shell - though, again gmp-6.1.1 built fine in the msys
> shell with gcc-5.3.0.
>
> Any pointers as to why this gcc-6.1.1 compiler is creating its own unique
> problems would also be gratefully received.
>
> Cheers,
> Rob
>
>
> --
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
> reports.http://sdm.link/zohodev2dev
> ___
> Mingw-w64-public mailing list
> Mingw-w64-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


[Mingw-w64-public] [MSYS2] How do I install makefinfo

2016-07-15 Thread sisyphus1
Hi,

Using dongsheng's gmp-6.1.1 (win32 threads, seh) build.

I'm trying to build mpfr (svn revision 10613) in the msys2 shell and getting 
hammered early on in the 'make' stage with:

###
make[1]: Entering directory 'C:/_64/comp/mpfr-10613/doc'
restore=: && backupdir=".am$$" && \
am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \
rm -rf $backupdir && mkdir $backupdir && \
if (C:/_64/msys64/usr/bin/sh.exe /c/_64/comp/mpfr-10613/missing 
makeinfo --version) >/dev/null 2>&1; then \
  for f in mpfr.info mpfr.info-[0-9] mpfr.info-[0-9][0-9] mpfr.i[0-9] 
mpfr.i[0-9][0-9]; do \
if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
  done; \
else :; fi && \
cd "$am__cwd"; \
if C:/_64/msys64/usr/bin/sh.exe /c/_64/comp/mpfr-10613/missing 
akeinfo  --enable-encoding -I . \
-o mpfr.info mpfr.texi; \
then \
  rc=0; \
  CDPATH="${ZSH_VERSION+.}:" && cd .; \
else \
  rc=$?; \
  CDPATH="${ZSH_VERSION+.}:" && cd . && \
  $restore $backupdir/* `echo "./mpfr.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
/c/_64/comp/mpfr-10613/missing: line 81: makeinfo: command not found
WARNING: 'makeinfo' is missing on your system.
 You should only need it if you modified a '.texi' file, or
 any other file indirectly affecting the aspect of the manual.
 You might want to install the Texinfo package:
 
 The spurious makeinfo call might also be the consequence of
 using a buggy 'make' (AIX, DU, IRIX), in which case you might
 want to install GNU make:
 
make[1]: *** [Makefile:365: mpfr.info] Error 127
make[1]: Leaving directory 'C:/_64/comp/mpfr-10613/doc'
make: *** [Makefile:484: all-recursive] Error 1
###

Now, I'm not so sure that I really do need makeinfo, but my old msys shell 
seems to have it and I'm therefore guessing it must surely be available for 
msys2.
At least, if I can install makeinfo, I will surely get past this error.
However:

#
sisyphus@Owner-PC311012 MSYS /c/_64/comp/mpfr-10613
$ pacman -Ss makeinfo

sisyphus@Owner-PC311012 MSYS /c/_64/comp/mpfr-10613
#

(I guess it's possible that I had built makeinfo from source for that old 
msys shell.)

This same mpfr source builds trivially in the msys shell using gcc-5.3.0 
(posix threads, sjlj) but when I switch to the above 6.1.1 compiler I have 
no end of trouble (both in msys and msys2 shells).
And the only way I could build gmp-6.1.1 with this gcc-6.1.1 compiler was to 
build in the msys2 shell - though, again gmp-6.1.1 built fine in the msys 
shell with gcc-5.3.0.

Any pointers as to why this gcc-6.1.1 compiler is creating its own unique 
problems would also be gratefully received.

Cheers,
Rob 


--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public