[Scons-users] Re-2: Re-2: GCC not found Error SCONS 3.1.2

Mats Wichmann mats at wichmann.us
Mon Mar 16 09:54:53 EDT 2020


On 3/16/20 7:24 AM, Mats Wichmann wrote:
> On 3/16/20 1:46 AM, Paul Rötzer wrote:
...
>> I want to add to my last mail that if I install mingw32-make via MinGW-get it works. 
...
>>> - C:\MinGW\bin contains "mingw32-gcc.exe" but not "mingw32-make.exe"
...
>>> - if I change the key_program variabel in mingw.py to key_program = 'gcc' 
>>> it works. 
...
> I see in the git logs that the change to look for mingw-make was done as
> part of an effort to get clang-from-mingw to work. So just flipping this
> back:
> 
> # This is what we search for to find mingw:
> # key_program = 'mingw32-gcc'
> key_program = 'mingw32-make'
> 
> maybe isn't right for that case, but maybe we could find a different
> binary to look for that would be present both in the gcc and in the
> clang case, without requiring separate install?

How about something from binutils - I presume both gcc and clang need
binutils to operate?  Here's from my setup:

mingw-w64-x86_64-binutils /mingw64/x86_64-w64-mingw32/bin/ar.exe
mingw-w64-x86_64-binutils /mingw64/x86_64-w64-mingw32/bin/as.exe
mingw-w64-x86_64-binutils /mingw64/x86_64-w64-mingw32/bin/dlltool.exe
mingw-w64-x86_64-binutils /mingw64/x86_64-w64-mingw32/bin/ld.bfd.exe
mingw-w64-x86_64-binutils /mingw64/x86_64-w64-mingw32/bin/ld.exe
mingw-w64-x86_64-binutils /mingw64/x86_64-w64-mingw32/bin/ld.gold.exe
mingw-w64-x86_64-binutils /mingw64/x86_64-w64-mingw32/bin/nm.exe
mingw-w64-x86_64-binutils /mingw64/x86_64-w64-mingw32/bin/objcopy.exe
mingw-w64-x86_64-binutils /mingw64/x86_64-w64-mingw32/bin/objdump.exe
mingw-w64-x86_64-binutils /mingw64/x86_64-w64-mingw32/bin/ranlib.exe
mingw-w64-x86_64-binutils /mingw64/x86_64-w64-mingw32/bin/readelf.exe
mingw-w64-x86_64-binutils /mingw64/x86_64-w64-mingw32/bin/strip.exe


Paul - if you use one of those as the key_program, does it work?


More information about the Scons-users mailing list