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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,23e16dd54c1dc37b X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news2.google.com!news.glorb.com!feeder.erje.net!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Sat, 29 Nov 2008 00:44:13 +0100 From: Georg Bauhaus Reply-To: rm.tsoh+bauhaus@maps.futureapps.de User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Question on GNAT-GPS References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <49308251$0$32670$9b4e6d93@newsspool2.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 29 Nov 2008 00:44:18 CET NNTP-Posting-Host: b79446ec.newsspool2.arcor-online.net X-Trace: DXC=dF7`AZdK@WZ1`E>oC;JXEZA9EHlD;3YcR4Fo<]lROoRQ^YC2XCjHcbYeRhPW`=oTZ]A:ho7QcPOVS7]a4EUWGba\gIC8]dILMTX X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:2837 Date: 2008-11-29T00:44:18+01:00 List-Id: R wrote: > Hi all, > > I installed the GPS suite on my system, started a compile of a (simple) file > and got results. The file has *.o extensions. How can I transform these > files to executables? In case the file that you compiled is a main unit (and if you want to rely on the GPS mechanisms to build executables), tell GPS that this unit is a main file: Build -> Project Properties -> Tab Main files. (GNAT by default uses a one file <-> one unit correspondence.) Behind the scene, compiling, binding and linking an Ada main unit can be triggered by running $ gnatmake your_main_unit.adb (This would also create your_main_unit.o, among other files.) The Getting Started chapter in Help -> GNAT -> GNAT User's Guide is highly recommended reading, even if you intend to work within the IDE. HTH