Continuing Problems trying to Compile Ada

reg@dwf.com reg@dwf.com
Fri Nov 9 09:22:00 GMT 2001


Last week with the help of several people on this list I was finally able to
build Ada from the 3.1 sources.

The system here in Linux (RedHat 7.0), and I pulled in the Ada compiler from 
the
RH PowerTools CD, viz
	gnat-3.12p-6.i386.rpm
	gnat-devel-3.12p-6.i386.rpm
Its not clear that the first of these is needed...

I built Ada with:
	cd GCCOBJ
	../GNU/GCC/gcc/configure --prefix=/usr/local/GCC3.1
	make bootstrap
	cd gcc
	make gnatlib_and_tools
	make install.

It was only AFTER I had blown away GCCOBJ, and removed the two RPMs that I
noticed that the gnat.... binaries (like gnatbind) had NOT loaded anywhere that
I can find them (and I looked with find / -name gnatbind -print), and surely 
not
in /usr/local/GCC3.1/bin.

So, I decided to rebuild from scratch, and watch what happened more carefully.
[[ by the way, do I need more than 'make install' ??? ]]
I reloaded the RPMs, made a new GCCOBJ, configured, and did the make.

This time however Im dieing during an Ada Compile during the make bootstrap
Here is what it is saying:

make -C ada "AR_FLAGS_FOR_TARGET=" "AR_CREATE
...(lots of stuff)
" "INSTALL_PROGRAM=/usr/bin/install -c" \
        ../gnat1
make[3]: Entering directory `/mnt/home/reg/Source/GCCOBJ/gcc/ada'
gnatgcc -c -g    -W -Wall -gnatpg -gnata -I- -I. -I../../../GNU/GCC/gcc/gcc/ada
 ../../../GNU/GCC/gcc/gcc/ada/ada.ads
fatal error: run-time library configuration error
cannot locate "Zero_Cost_Exceptions" in file "system.ads" (entity not in 
package)
compilation abandoned

So, whats it missing (ok I know, system.ads) and where should this be?

Confused.


-- 
                                        Reg.Clemens
                                        reg@dwf.com




More information about the Gcc-bugs mailing list