Guest srinicame Posted December 20, 2005 Report Share Posted December 20, 2005 Hi Please help me in compiling ada programs on mandriva 2006 I am using gcc v 4.0 gcc -v reported that it was compiled with ada as an option for lang. gcc -c hello.adb reported that "it could not find gnat1" Quote Link to comment Share on other sites More sharing options...
neddie Posted December 20, 2005 Report Share Posted December 20, 2005 Hi, and welcome aboard! I've not used Ada with gcc, but according to Google, gnat1 is the component which gcc uses for Ada. Chances are that if you installed gcc, you didn't automatically get gnat1 unless you asked for it. So it could be that you haven't got it, or it could be that you've got it but gcc can't find it. Check first that you've got gnat1 ("rpm -qa | grep gnat" should list it if it's installed), and if you haven't, then add it via urpmi. And let us know if it works! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.