comp.lang.ada
 help / color / mirror / Atom feed
* Re: Install problems GNAT/CC/Linux
  1997-10-19  0:00 Install problems GNAT/CC/Linux John M. Greer
@ 1997-10-19  0:00 ` John M. Greer
  1997-10-21  0:00 ` Roberto Lupi
  1997-10-25  0:00 ` Robert Dewar
  2 siblings, 0 replies; 4+ messages in thread
From: John M. Greer @ 1997-10-19  0:00 UTC (permalink / raw)



John M. Greer (greerjo@mail.auburn.edu) wrote:
: I'm having some serious problems installing GNAT on my Linux system 
: (recent kernel & libs.)

: When I install gnat v.10, and try to compile an Ada program, I get an 
: error that says (roughly):  
: gcc -c driver.adb
: gcc: driver.adb: linker input file unused since linking not done


: When I reinstall gcc (via setup CD-ROM), I get the following error: 

: gcc: installation problem, cannot exec `cc1plus': No such file or directory

: What is going on?  Help!!

: John Greer
: greerjo@mail.auburn.edu

PS:  I have gcc libraries 2.7.2.2, and gnat seems to install in 2.7.2.1.
Could this be the problem?  How would I solve it?






^ permalink raw reply	[flat|nested] 4+ messages in thread

* Install problems GNAT/CC/Linux
@ 1997-10-19  0:00 John M. Greer
  1997-10-19  0:00 ` John M. Greer
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: John M. Greer @ 1997-10-19  0:00 UTC (permalink / raw)



I'm having some serious problems installing GNAT on my Linux system 
(recent kernel & libs.)

When I install gnat v.10, and try to compile an Ada program, I get an 
error that says (roughly):  
gcc -c driver.adb
gcc: driver.adb: linker input file unused since linking not done


When I reinstall gcc (via setup CD-ROM), I get the following error: 

gcc: installation problem, cannot exec `cc1plus': No such file or directory

What is going on?  Help!!

John Greer
greerjo@mail.auburn.edu






^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Install problems GNAT/CC/Linux
  1997-10-19  0:00 Install problems GNAT/CC/Linux John M. Greer
  1997-10-19  0:00 ` John M. Greer
@ 1997-10-21  0:00 ` Roberto Lupi
  1997-10-25  0:00 ` Robert Dewar
  2 siblings, 0 replies; 4+ messages in thread
From: Roberto Lupi @ 1997-10-21  0:00 UTC (permalink / raw)



On 19 Oct 1997 05:07:53 GMT, John M. Greer <greerjo@mail.auburn.edu> wrote:
>I'm having some serious problems installing GNAT on my Linux system 
>(recent kernel & libs.)
>
>When I install gnat v.10, and try to compile an Ada program, I get an 
>error that says (roughly):  
>gcc -c driver.adb
>gcc: driver.adb: linker input file unused since linking not done

In order to support GNAT, the gcc front-end should be recompiled (i.e. you
should recompile gcc); the problem is that the version you installed from
the CD-ROM wasn't compiled with GNAT support included.

NOTE: Many GNAT binary distributions include a replacement for your gcc (often
called xgcc), that is installed over gcc and add support for GNAT (NOTE: this
way you can lose support for other languages - for instance, Obj-C or
Fortran 77 - if the gcc replacement wasn't compiled with support for those
languages enabled).

-- 
Ciao.

-----[ Roberto Lupi ]---------------------------------------
	mailto: lupex+NEWS@ascu.unian.it
------------------------------------------------------------




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Install problems GNAT/CC/Linux
  1997-10-19  0:00 Install problems GNAT/CC/Linux John M. Greer
  1997-10-19  0:00 ` John M. Greer
  1997-10-21  0:00 ` Roberto Lupi
@ 1997-10-25  0:00 ` Robert Dewar
  2 siblings, 0 replies; 4+ messages in thread
From: Robert Dewar @ 1997-10-25  0:00 UTC (permalink / raw)



John asks

<<When I install gnat v.10, and try to compile an Ada program, I get an
error that says (roughly):
gcc -c driver.adb
gcc: driver.adb: linker input file unused since linking not done>>

This is a typical installation problem (you are clearly using the wrong
vesion of gcc, one that does not know about Ada). For this and similar
problems, I recommend that you subscribe to chat@gnat.com by sending a
subscribe message to chat-request@gnat.com. You may be able to find someone
who can provide informal help there. Generaly chat@gnat.com will be a much
more effective place for discussion of GNAT problems that CLA, since there
are many GNAT users who participate in chat who do not bother to read CLA.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1997-10-25  0:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-19  0:00 Install problems GNAT/CC/Linux John M. Greer
1997-10-19  0:00 ` John M. Greer
1997-10-21  0:00 ` Roberto Lupi
1997-10-25  0:00 ` Robert Dewar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox