GCC 15 20250503 dont install its libgccjit.h in the same way as GCC 14

2025-05-05 Thread Basile Starynkevitch
Hello all,

On Debian/trixie/x86-64 I did compile GCC-15-20240503 (untarred under
/usr/src/Lang) configured as 

'/usr/src/Lang/gcc-15-20250503/configure'   '-v' '--prefix=/usr/local' \
   '--with-gcc-major-version-only' '--program-suffix=-my-15' \
   '--enable-shared' '--enable-plugin' '--enable-default-pie' \
   '--with-system-zlib' '--disable-multilib' '--with-tune=native' \
   '--enable-checking=release' '--enable-host-shared' \ 
   '--enable-languages=c,c++,rust,jit' \
   '--host=x86_64-linux-gnu' \
   '--target=x86_64-linux-gnu' 'CFLAGS=-g -O2' 'CXXFLAGS=-g -O2' \
   '--enable-languages=c,c++,jit,lto,rust'


and to my surprise its libgccjit.h was installed under /usr/local/include/ and
not, as I expected, under /usr/local/lib/gcc/x86_64-linux-gnu/15/include/


I tend to believe that it is a bug or at least should be documented in 
   gcc-15/changes.html

Your opinion is appreciated.

Thanks, regards from France


-- 
Basile STARYNKEVITCH
8 rue de la Faïencerie   http://starynkevitch.net/Basile/  
92340 Bourg-la-Reine https://github.com/bstarynk
Francehttps://github.com/RefPerSys/RefPerSys


Re: GCC 15 20250503 dont install its libgccjit.h in the same way as GCC 14

2025-05-05 Thread Andreas Schwab
On Mai 05 2025, Basile Starynkevitch wrote:

> and to my surprise its libgccjit.h was installed under /usr/local/include/ and

libgccjit.h has always been installed in $(includedir), so this is
expected.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."