On Jan 26, 2014, at 10:51 PM, Rohit2 Jindal <rohit2.jindal@aricent.com> wrote:

Hi,
 
I am trying to compile both c and c++ multilib for elf toolchain but its giving error in configuring the same for c++. Logs are attached with this mail. And EXTRA_OECONF passed are as below:
 
EXTRA_OECONF += "--with-sysroot=${TMPDIR}/sysroots/${BUILD_SYS}/usr/lib/mips32-nlm-elf.gcc-cross-initial/gcc/mips64-nlm-elf/4.6.3 \

you are trying to mix bare metal compiler toolchain with hosted toolchain targeting Linux ?
OpenEmbedded has concept of TARGET_OS and now you could unset it but thats a untreated territory. If you explain in essence what you are trying to do. May be there is a solution.

                --enable-threads \
                --enable-multilib \
                --disable-libmudflap \
                --disable-libssp \
                --disable-libstdcxx-pch \
                --with-gnu-as \
                --with-gnu-ld \
                --with-mips-plt \
                 --enable-languages=c,c++ \
                --enable-lto \
                --disable-nls \
                --disable-shared \
                --disable-threads \
                --disable-libgomp \
                --without-headers \
                --with-newlib \
                --disable-decimal-float \
                --disable-libffi \
                --disable-libquadmath \
                --disable-libitm \
                --enable-poison-system-directories \
                --with-gxx-include-dir=${TMPDIR}/sysroots/${BUILD_SYS}/usr/${TARGET_SYS}/usr/include/c++ \
                --enable-cxx-flags='-G0 -mno-gpopt' \
 
Please suggest me the way to resolve this issue.
 
Regards,
Rohit Jindal
 




===============================================================================
Please refer to http://www.aricent.com/legal/email_disclaimer.html
for important disclosures regarding this electronic communication.
===============================================================================
<error in configuring multilib for c++.log>_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto