tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

firefox on NetBSD/i386 8.0



Hi,

it appears to me that this construct from mozilla-common.mk:

.if !empty(MACHINE_PLATFORM:MNetBSD-8.*-*)
BUILDLINK_DEPMETHOD.gcc8=      full
.include "../../lang/gcc8/buildlink3.mk"
CWRAPPERS_PREPEND.cxx+= \
        -L${BUILDLINK_PREFIX.gcc8}/gcc8/lib \
        ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.gcc8}/gcc8/lib \
        -stdlib++-isystem \
        ${BUILDLINK_PREFIX.gcc8}/gcc8/include/c++ \
        -stdlib++-isystem \
        ${BUILDLINK_PREFIX.gcc8}/gcc8/include/c++/${MACHINE_GNU_PLATFORM} \
        -stdlib++-isystem \
        ${BUILDLINK_PREFIX.gcc8}/gcc8/include/c++/backward
.endif

doesn't actually work.

The reason is that g++ from gcc8 doesn't recognize the
-stdlib++-isystem flag.

Attempts to substitute gcc10 in gcc8's place doesn't change this,
when I do

/usr/pkg/gcc10/bin/g++ -stdlib++-isystem -v

I still get

g++: error: unrecognized command-line option '-stdlib++-isystem'

BTW, "work/.gcc/bin/c++ --version" (and g++) still produces

c++ (GCC) 7.5.0

What to do?

Regards,

- Håvard


Home | Main Index | Thread Index | Old Index