Web lists-archives.com

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





>From: Keith Marshall [mailto:keithmarshall@xxxxxxxxxxxxxxxxxxxxx] 
>Sent: Monday, March 06, 2017 12:58 PM
>To: mingw-users@xxxxxxxxxxxxxxxxxxxxx
>Subject: Re: [Mingw-users] arguments utilised for gcc downloads

>On 06/03/17 16:44, David Gressett wrote:
>>>> I have started experiments to find out. The manual copying of
>>>> /mingw/lib/crt2.o is not needed. At this point, I am still using
>>>> all of the exports
>> 
>> I have now shrunk this list to a single item:
>> 
>> export GCC_EXEC_PREFIX=/mingw/lib/gcc/

>That's helpful, thanks. With that knowledge, does:

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

>DTRT?

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

>>> compile codebase

[ -f stage_final ] || echo stage3 > stage_final
make[1]: Entering directory `/c/build_gcc-6.3.0_mingw-pkg/workspace/buildopt/gcc-6.3.0-mingw32'
make[2]: Entering directory `/c/build_gcc-6.3.0_mingw-pkg/workspace/buildopt/gcc-6.3.0-mingw32'
make[2]: Leaving directory `/c/build_gcc-6.3.0_mingw-pkg/workspace/buildopt/gcc-6.3.0-mingw32'
make[2]: Entering directory `/c/build_gcc-6.3.0_mingw-pkg/workspace/buildopt/gcc-6.3.0-mingw32'
Configuring stage 1 in ./lto-plugin
configure: creating cache ./config.cache
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for i686-pc-mingw32-gcc... gcc
checking for C compiler default output file name...
configure: error: in `/c/build_gcc-6.3.0_mingw-pkg/workspace/buildopt/gcc-6.3.0-mingw32/lto-plugin':
configure: error: C compiler cannot create executables
See `config.log' for more details.
make[2]: *** [configure-stage1-lto-plugin] Error 77
make[2]: Leaving directory `/c/build_gcc-6.3.0_mingw-pkg/workspace/buildopt/gcc-6.3.0-mingw32'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/c/build_gcc-6.3.0_mingw-pkg/workspace/buildopt/gcc-6.3.0-mingw32'
make: *** [all] Error 2
mingw-pkg: *** FATAL *** application build failed

------------------------------------------------------------------------------
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.
http://sdm.link/oxford
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

This list observes the Etiquette found at 
http://www.mingw.org/Mailing_Lists.
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:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe