3

I downgraded my gcc version 4.6.3 to 4.3.4 but ada version is not changed gnat-4.6.3 so I got error

Ada compiler not installed on this system.

How to set my ada to gnat 4.3.4?

Albert
  • 10,377
  • 4
  • 22
  • 27
Ragu
  • 97
  • 4

1 Answers1

0

It depends on what system you're running on and how you installed it. You need to either install GNAT from the same build of GCC, or you need to install GNAT in such a way that it doesn't interfere with the rest of GCC.

prosfilaes
  • 1,268
  • 13
  • 17
  • Thanks..I'm trying to install GNAT on same GCC build but make file creates an error Makefile:62: ../gcc/libada-mk: No such file or directory make: *** No rule to make target `../gcc/libada-mk'. Stop. – Ragu Jul 20 '12 at 09:29
  • You haven't mentioned what type of system you're running, what version of GNAT you have installed or what type of configure statement you used, so I don't know how you can expect anyone to help you. Since GNAT is written in Ada, if you don't have GNAT working on your system already, you can't build a new version. – prosfilaes Jul 20 '12 at 11:39
  • Hi..prosfilaes..i'm using x86_64 AMD machine, os=>fedora16 gcc=>4.3.4(as i configured),gcc-gnat and g++ =>4.6.3.Now i want to change gcc 4.6.3 how to do? – Ragu Jul 21 '12 at 05:13