
I looked at the website. The only mention of building bjam for gcc-nocygwin is with using build.bat. So, I ran (from a cygwin command line) build.bat gcc-nocygwin and, it failed while trying to build fileunix.o, as follows: ### ### Using 'gcc-nocygwin' toolset. ### C:\cygwin\home\GregSilverman\boost\boost_1_30_0\tools\build\jam_src>rd /S /Q bootstrap.gcc-nocygwin C:\cygwin\home\GregSilverman\boost\boost_1_30_0\tools\build\jam_src>md bootstrap.gcc-nocygwin C:\cygwin\home\GregSilverman\boost\boost_1_30_0\tools\build\jam_src>gcc -mno-cygwin -o bootstrap.gcc-nocygwin\jam0.exe command.c compile.c execnt.c execunix.c execvms.c expand.c filent.c fileos2.c fileunix.c filevms.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c newstr.c option.c parse.c pathunix.c pathvms.c regexp.c rules.c scan.c search.c subst.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c pwd.c fileunix.c:88:17: ar.h: No such file or directory fileunix.c: In function `file_archscan': fileunix.c:205: storage size of `ar_hdr' isn't known fileunix.c:214: `SARMAG' undeclared (first use in this function) fileunix.c:214: (Each undeclared identifier is reported only once fileunix.c:214: for each function it appears in.) fileunix.c:215: `ARMAG' undeclared (first use in this function) fileunix.c:226: sizeof applied to an incomplete type fileunix.c:226: sizeof applied to an incomplete type fileunix.c:227: `ARFMAG' undeclared (first use in this function) fileunix.c:252: sizeof applied to an incomplete type fileunix.c:283: sizeof applied to an incomplete type Is there some other way to build bjam for gcc-nocygwin? Or, should I build bjam for cygwin, and, when I build boost use the gcc-nocygwin toolset? --- In Boost-Users@yahoogroups.com, David Abrahams <dave@b...> wrote:
"silvermangbs" <silvermangbs@y...> writes:
I have been unable to build threads on cygwin using gcc or gcc-nocygwin. One thing I am puzzled by is that the tar file I downloaded does not have make files in tools/build/jam_src as David says.
Things have changed since 18 Oct 2002, when I wrote that. The instructions for rebuilding bjam are at:
http://www.boost.org/tools/build/jam_src/index.html#installing
If you're going to invoke it from within cygwin, you want the "Unix type platform" instructions.
Greg Silverman
--- In Boost-Users@yahoogroups.com, "Fernando Cacciola" <yg-boost-users@m...> wrote:
"David Abrahams" <dave@b...> wrote in message news:uelanm6jn.fsf@b...
"Fernando Cacciola" <yg-boost-users@m...> writes:
"David Abrahams" <dave@b...> wrote in message news:u7kgfqx6f.fsf@b...
"Fernando Cacciola" <yg-boost-users@m...> writes:
Do you know if I require an updated version of cygwin, or is
there a
problem
with the bjam executable?
I don't know, but rebuilding bjam within cygwin is as easy as
make CC=gcc
from within the tools/build/jam_src directory.
Good. John said it won't work for Win32 executables, but it seems that it will work for cygwin-based apps; I might find a use for that.
Thanks,
-- Fernando Cacciola
Info: <http://www.boost.org> Wiki: <http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl> Unsubscribe: <mailto:boost-users-unsubscribe@yahoogroups.com>
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
-- Dave Abrahams Boost Consulting www.boost-consulting.com