Re: Why would my include/c++/14.2.0/iostream not be found ?

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

 



On 3/11/25 05:48, Jonathan Wakely wrote:
On Tue, 11 Mar 2025 at 01:17, Dennis Clarke via Gcc-help
<gcc-help@xxxxxxxxxxx> wrote:


      This is just a strange situation that I know I have seen before and
really can not recall how to fix it. For that matter, I do not recall
...

Add -v and see where it's looking for the headers. Check if the
headers are present there.


Sorry for the noise ... problem solved :

https://gcc.gnu.org/pipermail/gcc-testresults/2025-March/840603.html

triton$
triton$ /opt/bw/gcc14/bin/g++ -v -O0 -g -c -o nothing.o nothing.cpp
Using built-in specs.
COLLECT_GCC=/opt/bw/gcc14/bin/g++
Target: x86_64-linux-gnu
Configured with: ../gcc-14.2.0/configure --prefix=/opt/bw/gcc14 --with-gnu-as --with-as=/opt/bw/bin/gas --with-gnu-ld --with-ld=/opt/bw/bin/gld --disable-nls --disable-multilib --enable-threads=posix --enable-shared --with-build-time-tools=/opt/bw/bin --enable-bootstrap --with-tune=generic --enable-linker-build-id --without-cuda-driver --enable-__cxa_atexit --with-default-libstdcxx-abi=new --enable-tls --enable-gnu-unique-object --enable-default-pie --with-abi=m64 --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-pkgversion='GENUNIX Tue Mar 11 17:29:45 UTC 2025'
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 14.2.0 (GENUNIX Tue Mar 11 17:29:45 UTC 2025)
COLLECT_GCC_OPTIONS='-v' '-O0' '-g' '-c' '-o' 'nothing.o' '-shared-libgcc' '-mtune=generic' '-march=x86-64' /opt/bw/gcc14/libexec/gcc/x86_64-linux-gnu/14.2.0/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE nothing.cpp -quiet -dumpbase nothing.cpp -dumpbase-ext .cpp -mtune=generic -march=x86-64 -g -O0 -version -o /var/tmp/dclarke/ccFhAIrI.s GNU C++17 (GENUNIX Tue Mar 11 17:29:45 UTC 2025) version 14.2.0 (x86_64-linux-gnu) compiled by GNU C version 14.2.0, GMP version 6.3.0, MPFR version 4.2.1, MPC version 1.3.1, isl version isl-0.24-GMP

GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "/opt/bw/gcc14/lib/gcc/x86_64-linux-gnu/14.2.0/include-fixed/x86_64-linux-gnu" ignoring nonexistent directory "/opt/bw/gcc14/lib/gcc/x86_64-linux-gnu/14.2.0/../../../../x86_64-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:

/opt/bw/gcc14/lib/gcc/x86_64-linux-gnu/14.2.0/../../../../include/c++/14.2.0

/opt/bw/gcc14/lib/gcc/x86_64-linux-gnu/14.2.0/../../../../include/c++/14.2.0/x86_64-linux-gnu

/opt/bw/gcc14/lib/gcc/x86_64-linux-gnu/14.2.0/../../../../include/c++/14.2.0/backward
 /opt/bw/gcc14/lib/gcc/x86_64-linux-gnu/14.2.0/include
 /opt/bw/gcc14/include
 /opt/bw/gcc14/lib/gcc/x86_64-linux-gnu/14.2.0/include-fixed
 /usr/include/x86_64-linux-gnu
 /usr/include
End of search list.
Compiler executable checksum: 535b3d6b2f041edb1bee904d2c29ef0f
COLLECT_GCC_OPTIONS='-v' '-O0' '-g' '-c' '-o' 'nothing.o' '-shared-libgcc' '-mtune=generic' '-march=x86-64' /opt/bw/bin/gas -v --gdwarf-5 --64 -o nothing.o /var/tmp/dclarke/ccFhAIrI.s GNU assembler version 2.44 (x86_64-pc-linux-gnu) using BFD version (GENUNIX Mon Mar 10 16:45:34 UTC 2025) 2.44
COMPILER_PATH=/opt/bw/gcc14/libexec/gcc/x86_64-linux-gnu/14.2.0/:/opt/bw/gcc14/libexec/gcc/x86_64-linux-gnu/14.2.0/:/opt/bw/gcc14/libexec/gcc/x86_64-linux-gnu/:/opt/bw/gcc14/lib/gcc/x86_64-linux-gnu/14.2.0/:/opt/bw/gcc14/lib/gcc/x86_64-linux-gnu/
LIBRARY_PATH=/opt/bw/gcc14/lib/gcc/x86_64-linux-gnu/14.2.0/:/opt/bw/gcc14/lib/gcc/x86_64-linux-gnu/14.2.0/../../../../lib64/:/lib/x86_64-linux-gnu/:/lib/../lib64/:/usr/lib/x86_64-linux-gnu/:/opt/bw/gcc14/lib/gcc/x86_64-linux-gnu/14.2.0/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-O0' '-g' '-c' '-o' 'nothing.o' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'nothing.'
triton$
triton$ ls
nothing.cpp  nothing.o
triton$

So that works.




--
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux