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.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,99d04266e293cdd1 X-Google-Attributes: gid103376,public From: Rob Kirkbride Subject: Re: File Name Rules Date: 1996/07/09 Message-ID: #1/1 X-Deja-AN: 167452126 distribution: world x-nntp-posting-host: rk-comp.demon.co.uk references: <4ruegk$42b@catapult.gatech.edu> organization: Bedrock Corp. mime-version: 1.0 reply-to: Rob Kirkbride newsgroups: comp.lang.ada Date: 1996-07-09T00:00:00+00:00 List-Id: In article <4ruegk$42b@catapult.gatech.edu>, Daniel J writes >Fellow Ada programmers, >I am working on some software that I want to compile with two compilers: >Alsys Activada (Windows 3.11) and GNAT 3.05 (Linux). The problem I'm having >is GNAT asks for the full compilation unit name, while ActivAda wants a >shortened name. I don't want to go through and change all the file names, >around 200 files, sheez. I've looked, but are you familiar with GNAT enough >to tell/point me further?? Like some command line option (-gnatv)..? > >Thanks, >-- >Daniel J. Feren >gt7693d@prism.gatech.edu >GTRI ELSYS-SEN >Team-Ada: Proud of It. I tend to use symbolic links, I am also using two compilers and wrote a perl script to take a set of ada files and create a symbolic link by looking into the actual file and deciding what the gnat filename should be. Its not ideal but it saves inserting nasty pragmas everywhere, getting warnings from one or another compiler -- Rob Kirkbride