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,8ff8a403110109d8,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-01-03 03:06:43 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!news.tele.dk!news.tele.dk!small.news.tele.dk!not-for-mail From: "Per Dalgas Jakobsen" Subject: Compilation induced constants in Ada code? Date: Fri, 03 Jan 2003 12:12:02 +0100 User-Agent: Pan/0.13.2 (I wwwondeling why alla boppah ferra pushing in?) Message-ID: Newsgroups: comp.lang.ada MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Organization: TDC Internet NNTP-Posting-Host: 193.89.241.47 X-Trace: 1041592003 dread16.news.tele.dk 174 193.89.241.47 X-Complaints-To: abuse@post.tele.dk Xref: archiver1.google.com comp.lang.ada:32484 Date: 2003-01-03T12:12:02+01:00 List-Id: Hi, I'm trying to get gcc to compile more robust with Ada support. At the moment it breaks if -suffix is used in builds (gcc becomes gcc-3.2 or similar). In make.adb the following line is declared: Gcc : String_Access := Program_Name ("gcc"); This causes gnatmake to look for gcc, not the suffixed version. What will be considered a good solution to get the compilation of gnatmake depend on a compiler-switch? An obvious one: Patch make.adb to change the name just before compilation. Others? Best regards Per