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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3b52082d781913c7,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-09-11 22:56:07 PST Path: archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: NonStickSpam Newsgroups: comp.lang.ada Subject: Gnat Compiling Sage-St Ada Code? Date: Thu, 12 Sep 2002 01:49:20 -0400 Organization: Posted via Supernews, http://www.supernews.com Message-ID: User-Agent: KNode/0.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: abuse@supernews.com Xref: archiver1.google.com comp.lang.ada:28847 Date: 2002-09-12T01:49:20-04:00 List-Id: I'm trying to compile some Ada Sage-St code with the Gnat compiler (translator), and am having problems. I can compile a very simple ada program that prints out text, etc.. so gnat works fine with that. I can open Sage DFL's with the Sage tools, view the relations, and everything. So, the Sage general tools work fine. The moment I try to compile Ada code using Sage, it gets very unhappy. If I have a 10 line program with a simple "with Sage;" it dies looking for sage.ads. I tried to link against the Sage DLL's, but without any success, so finally I copied the SAGE.ADS code into the directory, but that blows up in a big way trying to compile with GNAT. So, is it possible to build an appliaction with gnat and sage.. and if so, what arguments/paths should I use? Or, should I be trying a different compiler.. thanks!