From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3d459cc4a8b4a214 X-Google-Attributes: gid103376,public From: wqoelna@npz.bet (J. David Bryan) Subject: Re: ****Need help with GNAT 3.12 for win32***** Date: 2000/03/15 Message-ID: #1/1 X-Deja-AN: 597708226 References: X-Complaints-To: abuse@bcpl.net X-Trace: news.abs.net 953107810 207.19.142.22 (Wed, 15 Mar 2000 03:10:10 EST) Organization: Palomar Corporation NNTP-Posting-Date: Wed, 15 Mar 2000 03:10:10 EST Newsgroups: comp.lang.ada Date: 2000-03-15T00:00:00+00:00 List-Id: On Mon, 13 Mar 2000 23:43:23 -0800 in article , 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