Thanks for the replies everyone. I haven't yet tried to install ICU with
GCC because I have been trying to get to the bottom of why my LLVM clang++
compiler isn't found or is not working. That will likely be my last resort
option as far as ICU goes, but assuming other packages rely on clang++
functioning I would just run into another error down the road most likely.
>
> *>> Have you tried something like: >> >> echo 'int main() { }' |
> clang++ -v -xc++ -*
>
Here is the output when the execute the above command (sorry for the
length):
* $ echo 'int main() {}' | clang++ -v -xc++ -clang version 8.0.1
(tags/RELEASE_801/final)Target: x86_64-unknown-linux-gnuThread model:
posixInstalledDir: /usr/binFound candidate GCC installation:
/usr/bin/../lib/gcc/x86_64-pc-linux-gnu/9.2.0Found candidate GCC
installation: /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0Selected GCC
installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/9.2.0Candidate
multilib: .;@m64Candidate multilib: 32;@m32Candidate multilib:
x32;@mx32Selected multilib: .;@m64 "/usr/bin/clang-8" -cc1 -triple
x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free
-disable-llvm-verifier -discard-value-names -main-file-name -
-mrelocation-model static -mthread-model posix -mdisable-fp-elim
-fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables
-fuse-init-array -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb
-v -resource-dir /usr/lib/clang/8.0.1 -internal-isystem
/usr/bin/../lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../include/c++/9.2.0
-internal-isystem
/usr/bin/../lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../include/c++/9.2.0/x86_64-pc-linux-gnu
-internal-isystem
/usr/bin/../lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../include/c++/9.2.0/backward
-internal-isystem /usr/local/include -internal-isystem
/usr/lib/clang/8.0.1/include -internal-externc-isystem /include
-internal-externc-isystem /usr/include -fdeprecated-macro
-fdebug-compilation-dir /usr/src/blfs/genlibs/icu/source -ferror-limit 19
-fmessage-length 86 -fobjc-runtime=gcc -fcxx-exceptions -fexceptions
-fdiagnostics-show-option -fcolor-diagnostics -o /tmp/--b19ac6.o -x c++ -
-faddrsigclang -cc1 version 8.0.1 based upon LLVM 8.0.1 default target
x86_64-unknown-linux-gnuignoring nonexistent directory "/include"#include
"..." search starts here:#include <...> search starts
here:
/usr/bin/../lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../include/c++/9.2.0
/usr/bin/../lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../include/c++/9.2.0/x86_64-pc-linux-gnu
/usr/bin/../lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../include/c++/9.2.0/backward
/usr/local/include /usr/lib/clang/8.0.1/include /usr/includeEnd
of search list. "/usr/bin/ld" --eh-frame-hdr -m elf_x86_64 -dynamic-linker
/lib64/ld-linux-x86-64.so.2 -o a.out
/usr/bin/../lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../crt1.o
/usr/bin/../lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../crti.o
/usr/bin/../lib/gcc/x86_64-pc-linux-gnu/9.2.0/crtbegin.o
-L/usr/bin/../lib/gcc/x86_64-pc-linux-gnu/9.2.0 -L/lib/../lib64
-L/usr/bin/../lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../.. -L/usr/bin/../lib
-L/lib -L/usr/lib /tmp/--b19ac6.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s
-lgcc /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/9.2.0/crtend.o
/usr/bin/../lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../crtn.o*
I don't understand much of it unfortunately, but I can't detect a
noticeable error anywhere. The only thing that appears out of place maybe
to me is the text '*ignoring nonexistent directory "include"*' and the fact
that the GCC compiler appears first in the search list over clang.
-- Jared
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page