https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116147

--- Comment #10 from David Dudley <dldudley at gmail dot com> ---
OK, I generated a new native compiler from the latest sources, and it's
installed in /opt.

Modified my path to /opt/bin:${PATH} so I can find it.

Heres what it does:
------------------------------------------------------------
dudleyd@Monster:/tank/temp_build/arm_rtems6_eabi_gcc_git_c_ada$ echo $PATH
/opt/bin:/home/dudleyd/bin:/home/dudleyd/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin
dudleyd@Monster:/tank/temp_build/arm_rtems6_eabi_gcc_git_c_ada$ ls /opt/bin/gn*
/opt/bin/gnat  /opt/bin/gnatbind  /opt/bin/gnatchop  /opt/bin/gnatclean 
/opt/bin/gnatkr  /opt/bin/gnatlink  /opt/bin/gnatls  /opt/bin/gnatmake 
/opt/bin/gnatname  /opt/bin/gnatprep
dudleyd@Monster:/tank/temp_build/arm_rtems6_eabi_gcc_git_c_ada$ gnat --version
GNAT 15.0.0 20240723 (experimental)
Copyright (C) 1996-2024, Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

dudleyd@Monster:/tank/temp_build/arm_rtems6_eabi_gcc_git_c_ada$
/home/dudleyd/WORK/compilers/gcc-git/configure --prefix=/opt
--with-build-time-tools=/opt/arm-rtems6-eabi/bin --target=arm-rtems6-eabi
--verbose --enable-__cxa_atexit --disable-win32-registry 
--enable-languages=ada
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... arm-rtems6-eabi
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for gawk... gawk
checking for libatomic support... no
checking for libitm support... no
checking for libsanitizer support... no
checking for libvtv support... no
checking for libphobos support... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gcc option to accept ISO C99... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ accepts -static-libstdc++ -static-libgcc... yes
checking for gnatbind... gnatbind
checking for gnatmake... gnatmake
checking whether compiler driver understands Ada and is recent enough... no
checking for gdc... no
checking whether the D compiler works... no
checking for cargo... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1
$$f2
checking whether g++ supports C++11 features by default... yes
checking for objdir... .libs
configure: WARNING: using in-tree isl, disabling version check
checking for library containing dlopen... none required
checking for library containing pthread_create... none required
configure: error: GNAT is required to build ada
dudleyd@Monster:/tank/temp_build/arm_rtems6_eabi_gcc_git_c_ada$ 
dudleyd@Monster:/tank/temp_build/arm_rtems6_eabi_gcc_git_c_ada$ gnat --version
GNAT 15.0.0 20240723 (experimental)
Copyright (C) 1996-2024, Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

dudleyd@Monster:/tank/temp_build/arm_rtems6_eabi_gcc_git_c_ada$ 

------------------------------------------------------------
As you can see, even though the new version of gnat is there, the configure
script doesn't find it.

I'm including the log files as well.

David

Reply via email to