I have recently upgraded my gcc 2.95.3. Well, I have kept the 2.95.3 and installed 3.0.4 under /usr/local/, since removing or overwriting the SuSE Linux 7.3 default gcc 2.95.3 would probably break some of the 7.3 packages. Of course I would have liked to have the new 3.2, but the make processes of both 3.1.1 and 3.2 failed on me. There seems to be a problem with libgnat. I enclose the last part of a make of 3.1.1: //////////////////////////////////////////////////////////////////// gnatgcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -W -Wall -gnatpg -gnata -I- -I. -I../../gcc-3.1.1/gcc/ada ../../gcc-3.1.1/gcc/ada/back_end.adb gnatgcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -W -Wall -gnatpg -gnata -I- -I. -I../../gcc-3.1.1/gcc/ada ../../gcc-3.1.1/gcc/ada/gnat1drv.adb gnatbind -C -I- -I. -I../../gcc-3.1.1/gcc/ada -o b_gnat1.c -n gnat1drv.ali gnatbind: error while loading shared libraries: libgnat-3.13p.so.1: cannot open shared object file: No such file or directorymake[2]: *** [b_gnat1.c] Error 127 make[2]: Leaving directory `/home/david/FFN/build/gcc/ada' make[1]: *** [gnat1] Error 2 make[1]: Leaving directory `/home/david/FFN/build/gcc' make: *** [all-gcc] Error 2 //////////////////////////////////////////////////////////////////// And here is what I get when searching for the messing file: //////////////////////////////////////////////////////////////////// dt:~ # find / -name libgnat* /usr/lib/gcc-lib/i386-Ada-linux/2.8.1/adalib/libgnat.a /usr/lib/gcc-lib/i386-Ada-linux/2.8.1/adalib/libgnat.so /usr/lib/gcc-lib/i386-Ada-linux/2.8.1/adalib/libgnat_so.a /usr/lib/gcc-lib/i386-Ada-linux/2.8.1/adalib/libgnat-3.13p.so /usr/lib/gcc-lib/i386-Ada-linux/2.8.1/libgnatgcc.a /usr/lib/libgnat-3.15a.so /usr/i486-linux-libc5/lib/libgnat.so.3.09 /usr/i486-linux-libc5/lib/libgnat.so //////////////////////////////////////////////////////////////////// I have the impression that libgnat is part of the whole gcc shebang and should be built with all the other stuff when you build the whole of gcc. Am I wrong in this? Should I upgrade libgnat by itself first? Best regards, David List
participants (2)
-
David List
-
Philipp Thomas