Hi all

Due to fact that my currently quite outdated gcc toolchain fails to compile latest firefox, I tried to build firefox with clang10.

In case anyone wants to try this, too, I found out that you can run into problems with c++ libraries built with clang or gcc, I think the root problem ist clang libc versus gcc stdlibc++.

Anyway I was successful when using the following:

export CC=clang CXX=clang++ CXXFLAGS="-stdlib=libstdc++"

Without the CXXFLAGS="-stdlib=libstdc++", it compiled fine, but failed to link.

Bye
Tim
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to