Opened 7 years ago

Last modified 7 years ago

#12077 new Bugs

gcc: error: CreateProcess: No such file or directory

Reported by: james@… Owned by:
Milestone: To Be Determined Component: Building Boost
Version: Boost 1.60.0 Severity: Problem
Keywords: Cc:

Description

C:\Users\James\code\boost\v1_60>bootstrap.bat gcc
Building Boost.Build engine
gcc: error: CreateProcess: No such file or directory

Failed to build Boost.Build engine.

gcc is in my path

C:\Users\James\code\boost\v1_60>gcc -v
Using built-in specs.
COLLECT_GCC=gcc
Target: mingw32
Configured with: ../../../src/gcc-4.9.2/configure --build=mingw32 --enable-

...

Thread model: posix
gcc version 4.9.2 (tdm-1)

here is the log

###
### Using 'gcc' toolset.
###

C:\Users\James\code\boost\v1_60\tools\build\src\engine>if exist bootstrap rd /S /Q bootstrap 

C:\Users\James\code\boost\v1_60\tools\build\src\engine>md bootstrap 

C:\Users\James\code\boost\v1_60\tools\build\src\engine>gcc -DNT -o bootstrap\jam0.exe  command.c compile.c constants.c debug.c execcmd.c execnt.c filent.c frames.c function.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c object.c option.c output.c parse.c pathnt.c pathsys.c regexp.c rules.c scan.c search.c subst.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c md5.c class.c cwd.c w32_getreg.c native.c modules/set.c modules/path.c modules/regex.c modules/property-set.c modules/sequence.c modules/order.c 

C:\Users\James\code\boost\v1_60\tools\build\src\engine>exit /b 1

Attachments (1)

bootstrap.log (841 bytes ) - added by james@… 7 years ago.

Download all attachments as: .zip

Change History (3)

by james@…, 7 years ago

Attachment: bootstrap.log added

comment:1 by anonymous, 7 years ago

Version: Boost 1.61.0Boost 1.60.0

comment:2 by anonymous, 7 years ago

Problem was I had quotes around the PATH to gcc. Works for invoking the compiler, but not for bootstrap.

C:\Users\James\code\boost\v1_60\tools\build\src\engine>PATH
PATH="C:\Program Files (x86)\CodeBlocks16\MinGW\bin";C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Python\; ...
Note: See TracTickets for help on using tickets.