<div dir="ltr">Hello,<div><br></div><div>I am trying to compile boost 1.57 under Solaris for the second day now, please help.</div><div><br></div><div>Here is my setup:</div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>- Solaris Sparc 5.10 </div><div>- gcc 4.9.2</div></blockquote><div><br></div><div>What I did:</div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>./bootstrap.sh --without-icu --prefix=/usr/local/</div><div><div>-n Building Boost.Build engine with toolset gcc...</div></div><div>./b2</div></blockquote><div><br></div><div>This results in two errors like the following:</div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div>gcc.compile.asm bin.v2/libs/context/build/gcc-4.9.2/release/threading-multi/asm/make_sparc64_sysv_elf_gas.o</div></div><div><div>/usr/ccs/bin/as: "/var/tmp//cc3IBrs7.s", line 13: error: invalid character (0x40)</div></div><div><div>/usr/ccs/bin/as: "/var/tmp//cc3IBrs7.s", line 34: warning: detect global register use not covered .register pseudo-op</div></div><div><div>/usr/ccs/bin/as: "/var/tmp//cc3IBrs7.s", line 52: error: unknown "%"-symbol</div></div><div><div>/usr/ccs/bin/as: "/var/tmp//cc3IBrs7.s", line 52: error: quoted-string operand required</div></div><div><div>/usr/ccs/bin/as: "/var/tmp//cc3IBrs7.s", line 52: error: statement syntax</div></div><div><br></div><div><div> "g++" -x assembler-with-cpp -O3 -finline-functions -Wno-inline -Wall -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_CONTEXT_DYN_LINK=1 -DBOOST_CONTEXT_SOURCE -DNDEBUG -D_XOPEN_SOURCE=600 -I"." -c -o "bin.\</div></div><div><div> v2/libs/context/build/gcc-4.9.2/release/threading-multi/asm/make_sparc64_sysv_elf_gas.o" "libs/context/src/asm/make_sparc64_sysv_elf_gas.S"</div></div><div><br></div></blockquote>Question 1: the /usr/css/bin directory is not in my PATH. How can I tell b2 to use the gnu-utils assembler?<div><br></div><div><br></div><div>I also get a lot of errors like this:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div> "g++" -x assembler-with-cpp -O3 -finline-functions -Wno-inline -Wall -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_CONTEXT_DYN_LINK=1 -DBOOST_CONTEXT_SOURCE -DNDEBUG -D_XOPEN_SOURCE=600 -I"." -c -o "bin.\</div></div><div><div> v2/libs/context/build/gcc-4.9.2/release/threading-multi/asm/jump_sparc64_sysv_elf_gas.o" "libs/context/src/asm/jump_sparc64_sysv_elf_gas.S"</div></div><div><div><br></div></div><div><div>...failed gcc.compile.asm bin.v2/libs/context/build/gcc-4.9.2/release/threading-multi/asm/jump_sparc64_sysv_elf_gas.o...</div></div><div><div>gcc.compile.c++ bin.v2/libs/context/build/gcc-4.9.2/release/threading-multi/unsupported.o</div></div><div><div>libs/context/src/unsupported.cpp:7:2: error: #error "platform not supported"</div></div><div><div>#error "platform not supported"</div></div><div><div> ^</div></div><div><div><br></div></div><div><div> "g++" -ftemplate-depth-128 -O3 -finline-functions -Wno-inline -Wall -pthreads -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_CONTEXT_DYN_LINK=1 -DBOOST_CONTEXT_SOURCE -DNDEBUG -D_XOPEN_SOURCE=600 -I"."\</div></div><div><div> -c -o "bin.v2/libs/context/build/gcc-4.9.2/release/threading-multi/unsupported.o" "libs/context/src/unsupported.cpp"</div></div><div><div><br></div></div><div><div>...failed gcc.compile.c++ bin.v2/libs/context/build/gcc-4.9.2/release/threading-multi/unsupported.o...</div></div><div><div>...skipped <pbin.v2/libs/context/build/gcc-4.9.2/release/threading-multi>libboost_context.so.1.57.0 for lack of <pbin.v2/libs/context/build/gcc-4.9.2/release/threading-multi>asm/make_sparc64_sysv_\</div></div><div><div> elf_gas.o...</div></div></blockquote><div><br></div><div>Question 2:Why does the compiler complain, even though the -D_XOPEN_SOURCE=600 flag is specified?</div><div><br></div><div>Your support is very much appreciated</div><div><br></div><div>Best regards</div><div>Raphael</div><div><br><div><br></div><div><br></div></div></div>