Boost logo

Boost Users :

From: Chris Miller (lordsauronthegreat_at_[hidden])
Date: 2008-01-16 23:33:36


On Jan 16, 2008 2:32 PM, Jonathan Turkanis <turkanis_at_[hidden]> wrote:
> Rene Rivera wrote:
> > Oops... I missed reading this thread...
> >
> > With "C:\MinGW\bin", or wherever you have the mingw gcc.exe, in your
> > "PATH" doing:
> >
> > > echo %Path%
> > > cd \location\of\jam\src
> > > .\build.bat mingw
> >
> > Produces for me:
>
> > [COMPILE] bin.ntx86\bjam.exe
> > ....updated 1 target...
>
> Works for me too. I'm pretty sure the problem was with PATH.

It begs to differ.

C:\USERS\LORDSA~1\DESKTOP\BOOSTJAM>build.bat mingw
###
### Using 'msvc' toolset.
###

C:\Users\LORDSA~1\DESKTOP\BOOSTJAM>rd /S /Q bootstrap

C:\Users\LORDSA~1\DESKTOP\BOOSTJAM>md bootstrap

C:\Users\LORDSA~1\DESKTOP\BOOSTJAM>cl /nologo /GZ /Zi /MLd /Fobootstrap/ /Fdboot
strap/ -DNT -DYYDEBUG kernel32.lib advapi32.lib user32.lib /Febootstrap\jam0 co
mmand.c compile.c debug.c execnt.c expand.c filent.c glob.c hash.c hdrmacro.c he
aders.c jam.c jambase.c jamgram.c lists.c make.c make1.c newstr.c option.c outpu
t.c parse.c pathunix.c regexp.c rules.c scan.c search.c subst.c timestamp.c vari
able.c modules.c strings.c filesys.c builtins.c pwd.c class.c w32_getreg.c nativ
e.c modules/set.c modules/path.c modules/regex.c modules/property-set.c modules
/sequence.c modules/order.c
'cl' is not recognized as an internal or external command,
operable program or batch file.

C:\USERS\LORDSA~1\DESKTOP\BOOSTJAM>PATH
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\PROGRA~1\QUICKT~
1\QTSystem\;C:\MinGW\bin

C:\USERS\LORDSA~1\DESKTOP\BOOSTJAM>

Perhaps because it uses the executables "mingw32-*" instead of the plain names?

C:\USERS\LORDSA~1\DESKTOP\BOOSTJAM>dir c:\MinGW\bin
 Volume in drive C has no label.
 Volume Serial Number is 3071-688E

 Directory of c:\MinGW\bin

01/15/2008 06:29 PM <DIR> .
01/15/2008 06:29 PM <DIR> ..
08/24/2006 09:35 PM 559,577 addr2line.exe
07/22/2007 04:49 AM 2,388,304 alld42.dll
07/22/2007 04:51 AM 1,032,582 alleg42.dll
07/22/2007 04:50 AM 1,043,258 allp42.dll
08/24/2006 09:35 PM 525,951 ar.exe
08/24/2006 09:35 PM 792,360 as.exe
01/18/2006 12:04 PM 92,160 c++.exe
08/24/2006 09:35 PM 558,024 c++filt.exe
01/18/2006 12:05 PM 91,648 cpp.exe
08/24/2006 09:35 PM 611,153 dlltool.exe
08/24/2006 09:35 PM 63,213 dllwrap.exe
01/18/2006 12:04 PM 92,160 g++.exe
01/18/2006 12:06 PM 89,600 gcc.exe
01/18/2006 12:05 PM 16,031 gccbug
01/18/2006 12:05 PM 26,112 gcov.exe
08/24/2006 09:35 PM 625,174 gprof.exe
08/24/2006 09:35 PM 806,237 ld.exe
01/18/2006 12:04 PM 92,160 mingw32-c++.exe
01/18/2006 12:04 PM 92,160 mingw32-g++.exe
01/18/2006 12:06 PM 89,600 mingw32-gcc-3.4.5
01/18/2006 12:06 PM 89,600 mingw32-gcc.exe
03/21/2007 08:53 AM 166,400 mingw32-make.exe
08/03/2007 04:08 PM 11,673 mingwm10.dll
08/24/2006 09:35 PM 570,469 nm.exe
08/24/2006 09:35 PM 717,083 objcopy.exe
08/24/2006 09:35 PM 849,949 objdump.exe
08/24/2006 09:35 PM 525,951 ranlib.exe
08/24/2006 09:35 PM 268,447 readelf.exe
08/24/2006 09:35 PM 508,399 size.exe
08/24/2006 09:35 PM 507,802 strings.exe
08/24/2006 09:35 PM 717,083 strip.exe
08/24/2006 09:35 PM 617,067 windres.exe
              32 File(s) 15,237,387 bytes
               2 Dir(s) 86,189,252,608 bytes free

C:\USERS\LORDSA~1\DESKTOP\BOOSTJAM>

but wait, I see the plain names there as well... that's strange. Now
I'm confused. I don't even have a theory now. I hate to go all OS
8.9, but EEP!

-- 
Registered Linux Addict #431495
http://profile.xfire.com/mrstalinman
John 3:16!
If Microsoft is the Wal*Mart of the Software World, then Linux is the Home Depot

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net