comp.lang.ada
 help / color / mirror / Atom feed
From: wqoelna@npz.bet (J. David Bryan)
Subject: Re: ****Need help with GNAT 3.12 for win32*****
Date: 2000/03/15
Date: 2000-03-15T00:00:00+00:00	[thread overview]
Message-ID: <CzHz4.20$a5.10353@news.abs.net> (raw)
In-Reply-To: t1rrcs415b9fflqrmerbr1bjvvijf2pnu2@4ax.com

On Mon, 13 Mar 2000 23:43:23 -0800 in article 
<t1rrcs415b9fflqrmerbr1bjvvijf2pnu2@4ax.com>, Arkos@hide.com wrote...
>
>When I compile it's work perfectly but when come the time to build it,
>I always get this error message :
>
>gcc.exe: installation problem, cannot exec 'collect2': no such file or
>directory.

Do you have the GNU C or C++ compilers installed on this system (in addition 
to GNAT)?


>What the heck is 'collect2'???

From the GCC manual:

  collect2

  GNU CC uses a utility called collect2 on nearly all systems to arrange to 
  call various initialization functions at start time.

  The program collect2 works by linking the program once and looking through 
  the linker output file for symbols with particular names indicating they are 
  constructor functions.  If it finds any, it creates a new temporary .c file 
  containing a table of them, compiles it, and links the program a second time 
  including that file.

Collect2 is not used or installed by GNAT, so it sounds as though either the 
wrong "gcc" is being used (e.g., there's another gcc on yuor system somewhere 
in the PATH), or the wrong "specs" file is being used (again, because there's 
another one on your system).

If you're certain the installation went OK, I'd check your PATH, environment 
variables affecting GCC (GCC_EXEC_PREFIX, etc. -- they're listed in the GCC 
manual), and the system registry under:

  HKEY_LOCAL_MACHINE\Software\Free Software Foundation
-- 
                                        -- Dave Bryan
 
NOTE: Due to unrelenting SPAM, I regret that I have been forced to post with
an encoded address.  Please ROT13 this message to obtain the reply address.
Address also available at http://www.bcpl.net/~dbryan/mailto.html
 
Cyrnfr ercyl gb guvf nqqerff:  wqoelna@npz.bet





  parent reply	other threads:[~2000-03-15  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-13  0:00 ****Need help with GNAT 3.12 for win32***** Arkos
2000-03-14  0:00 ` Jerry van Dijk
2000-03-14  0:00 ` Pascal Obry
2000-03-14  0:00   ` Arkos
2000-03-15  0:00 ` J. David Bryan [this message]
2000-03-15  0:00   ` ****Need help with GNAT 3.12 for win32***** Thanks J.David Bryan Arkos
2000-03-16  0:00     ` J. David Bryan
replies disabled

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