From: | PG Bug reporting form <noreply(at)postgresql(dot)org> |
---|---|
To: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
Cc: | andre_mikulec(at)hotmail(dot)com |
Subject: | BUG #15362: llbeta3: ./configure; in x86_64-w64-mingw32-gcc 8.2.0 wrong options "-V" and "-qversion" |
Date: | 2018-09-03 16:10:28 |
Message-ID: | 153599102817.23141.5285174974404066663@wrigleys.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged on the website:
Bug reference: 15362
Logged by: Andre Mikulec
Email address: andre_mikulec(at)hotmail(dot)com
PostgreSQL version: 11beta3
Operating system: Windows 10 64bit latest
Description:
Hi,
I am using the latest postgresql from the mirror
"https://github.com/postgres/postgres"
Latest commit 4ddd8f5
I am trying to configure "llbeta3" using
AnonymousUser(at)ANONYMOUST MINGW64 /w/R-3.5._/postgres/build
/w/R-3.5._/postgres/configure --host=x86_64-w64-mingw32 --prefix=$PWD
--enable-debug --disable-rpath --enable-depend --without-zlib
Using
tail -f config.log
vim config.log
I am seeing these results
gcc version 8.2.0 (Rev1, Built by MSYS2 project)
configure:3963: $? = 0
configure:3952: x86_64-w64-mingw32-gcc -V >&5
x86_64-w64-mingw32-gcc.exe: error: unrecognized command line option '-V'
x86_64-w64-mingw32-gcc.exe: fatal error: no input files
compilation terminated.
configure:3963: $? = 1
configure:3952: x86_64-w64-mingw32-gcc -qversion >&5
x86_64-w64-mingw32-gcc.exe: error: unrecognized command line option
'-qversion'; did you mean '--version'?
x86_64-w64-mingw32-gcc.exe: fatal error: no input files
compilation terminated.
Option "-V" (CAPITAL V) seems to not being used correctly.
AnonymousUser(at)ANONYMOUST MINGW64 /w/R-3.5._/postgres/build
$ x86_64-w64-mingw32-gcc -V
x86_64-w64-mingw32-gcc.exe: error: unrecognized command line option '-V'
x86_64-w64-mingw32-gcc.exe: fatal error: no input files
compilation terminated.
Option "-qversion" seems to not exist.
AnonymousUser(at)ANONYMOUST MINGW64 /w/R-3.5._/postgres/build
$ x86_64-w64-mingw32-gcc -qversion
x86_64-w64-mingw32-gcc.exe: error: unrecognized command line option
'-qversion'; did you mean '--version'?
x86_64-w64-mingw32-gcc.exe: fatal error: no input files
compilation terminated.
"--version" still works
AnonymousUser(at)ANONYMOUST MINGW64 /w/R-3.5._/postgres/build
$ x86_64-w64-mingw32-gcc --version
x86_64-w64-mingw32-gcc.exe (Rev1, Built by MSYS2 project) 8.2.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
About "-V", the docs ( https://linux.die.net/man/1/gcc )
say
"
Specifying Target Machine and Compiler Version
-V and -b options work by running the <machine>-gcc-<version> executable
-V version
The argument version specifies which version of GCC to run
"
So, the usage is not to query information, the usage seems to be to "set"
information.
About "-qversion", the docs ( https://linux.die.net/man/1/gcc ) say . . .
nothing!
Thanks,
Andre Mikulec
Andre_Mikulec(at)Hotmail(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2018-09-03 16:13:17 | Re: BUG #15362: llbeta3: ./configure; in x86_64-w64-mingw32-gcc 8.2.0 wrong options "-V" and "-qversion" |
Previous Message | Sébastien DELOBEL | 2018-09-03 14:34:51 | example of json_to_record(json) not working |