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 X-Google-Thread: 103376,2afae4a128914036 X-Google-Attributes: gid103376,public Path: g2news1.google.com!news2.google.com!proxad.net!newsfeed.stueberl.de!news-stoc.telia.net!news-stoa.telia.net!telia.net!masternews.telia.net.!newsc.telia.net.POSTED!not-for-mail From: =?ISO-8859-1?Q?Bj=F6rn_Persson?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031114 X-Accept-Language: sv, sv-se, sv-fi, en-gb, en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: wide_string and assertions References: <47SdnXI-D-3icyLdRVn-uQ@megapath.net> <1224046.crrTJmpIeA@linux1.krischik.com> <1towc.94710$dP1.304947@newsc.telia.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Message-ID: Date: Thu, 10 Jun 2004 13:30:09 GMT NNTP-Posting-Host: 217.209.116.179 X-Complaints-To: abuse@telia.com X-Trace: newsc.telia.net 1086874209 217.209.116.179 (Thu, 10 Jun 2004 15:30:09 CEST) NNTP-Posting-Date: Thu, 10 Jun 2004 15:30:09 CEST Organization: Telia Internet Xref: g2news1.google.com comp.lang.ada:1367 Date: 2004-06-10T13:30:09+00:00 List-Id: Georg Bauhaus wrote: > Bj=F6rn Persson wrote: > :>=20 > :> Maybe configuring a separately compiled unit before translation? > :=20 > : Sorry, I don't follow. What translation? >=20 > Compilation, I meant. When I have an OS/compiler specific subprogram > I try to wrap it in an "interface package", and use a renaming. Yes, that's one way to do it. I saw there was a discussion some time ago = on how to do these things in the absence of conditional compilation. > However, I have to make sure, before > translation of the program, that the unit file_system renames the corre= ct > file system package before I start the compiler. Exactly, and to that end you can write a shell script for Unix and a=20 batch file for Windows that figure out the right configurations in the=20 most common cases. --=20 Bj=F6rn Persson jor ers @sv ge. b n_p son eri nu