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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,32013886dc816d9f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-02-22 04:11:38 PST Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!news-out.visi.com!green.octanews.net!news-out.octanews.net!news.glorb.com!prodigy.com!wn54feed!worldnet.att.net!attbi_s52.POSTED!not-for-mail From: "Jeff C," Newsgroups: comp.lang.ada References: Subject: Re: Q: GPS and Preprocessor X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: NNTP-Posting-Host: 24.147.74.171 X-Complaints-To: abuse@comcast.net X-Trace: attbi_s52 1077451897 24.147.74.171 (Sun, 22 Feb 2004 12:11:37 GMT) NNTP-Posting-Date: Sun, 22 Feb 2004 12:11:37 GMT Organization: Comcast Online Date: Sun, 22 Feb 2004 12:11:37 GMT Xref: archiver1.google.com comp.lang.ada:5726 Date: 2004-02-22T12:11:37+00:00 List-Id: Not that from a functionality point of view there really is not any difference between the academic version and the professional version. What you are probably being hit by is GNAT 3.15. What platform are you on? If it is not windows, it is pretty easy to build a GCC. GCC 3.4 (not out yet but soon) is looking like it will be the closest thing to a good release from the FSF tree since the original merge. If it is windows, building GNAT can sometimes be more complicated so I'd recommend waiting for mingw to do a 3.4 release...though this could be a lot longer. "Michael Erdmann" wrote in message news:c19qlg$jvi$1@news.eusc.inter.net... > Sorry, i got only the educational version of GPS and gnat 3.15p which seems > not to support this switch. Any idea what i can do else? > > Michael > > > "Per Sandberg" schrieb im Newsbeitrag > news:mailman.5.1077399609.327.comp.lang.ada@ada-france.org... > > If you got the profesional version of GPS then i asume that you got the > > the latest GNAT as well. > > so why dont use the embedded onth fly preprocessor se the > > -gnateDsymb=value needs a ferly new gnat in order to work 100% > > -gnatep=file > > options. > > I used gnatprep in one small project of mine and changed to use the > > inline prepocessor since i found that much more convenint. > > some project file sample from the top of my head: > > > > project sample is > > package builder is > > for Default_Switches use ("-s"); > > end builde; > > package compiler is > > for switches("source_that_needs_preprocessing.adb") use > > compiler'Default_Switches("Ada") & > > ("-gnatep=preprocessordat.data"); > > end compiler; > > end sample; > > > > /hope it helps > > /Per > > Michael Erdmann wrote: > > > > > Hallo, > > > > > > i have the non professinal version of GPS installed and i like to > include > > > gnatprep into a GPS project. Is there any way of doing it? > > > > > > Regards > > > M.Erdmann > > > > > > > > > _______________________________________________ > > > comp.lang.ada mailing list > > > comp.lang.ada@ada-france.org > > > http://www.ada-france.org/mailman/listinfo/comp.lang.ada > > > > > > >