Web lists-archives.com

Re: [Mingw-users] arguments utilised for gcc downloads

>From: David Gressett [mailto:dgressett@xxxxxxxxxxxxxxx] 
>Sent: Monday, March 06, 2017 2:37 PM
To: MinGW Users List <mingw-users@xxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Mingw-users] arguments utilised for gcc downloads
... snip ...

>>$ mingw-pkg --option='make GCC_EXEC_PREFIX=/mingw/lib/gcc' \
>>SRCDIR=...whatever_is_appropriate... compile


>The compile does an immediate crash. Here is the entire build log:

>$ mingw-pkg --option='make GCC_EXEC_PREFIX=/mingw/lib/gcc' SRCDIR=../../src/gcc-6.3.0 compile 2>&1 | tee ../../mingw-pkg-compile-opt.log

... build log snipped out - see previous message ...

Here is the part of the config.log in the lto-plugin directory which shows the failure.
This starts with line 132 of the log.

configure:3383: $? = 1
configure:3403: checking for C compiler default output file name
configure:3425: gcc -g  -static-libstdc++ -static-libgcc -Wl,--stack,12582912 conftest.c  >&5
gcc.exe: error: CreateProcess: No such file or directory
configure:3429: $? = 1
configure:3466: result: 
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "LTO plugin for ld"
| #define PACKAGE_TARNAME "lto-plugin"
| #define PACKAGE_VERSION "0.1"
| #define PACKAGE_STRING "LTO plugin for ld 0.1"
| #define PACKAGE_URL ""
| #define PACKAGE "lto-plugin"
| #define VERSION "0.1"
| /* end confdefs.h.  */
| int
| main ()
| {
|   ;
|   return 0;
| }
configure:3472: error: in `/c/build_gcc-6.3.0_mingw-pkg/workspace/buildopt/gcc-6.3.0-mingw32/lto-plugin':
configure:3476: error: C compiler cannot create executables
See `config.log' for more details.

Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
MinGW-users mailing list

This list observes the Etiquette found at 
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

You may change your MinGW Account Options or unsubscribe at:
Also: mailto:mingw-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe