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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: GNAT.Serial_Communication and Streams Date: Sun, 29 Nov 2015 11:34:05 +0000 Organization: A noiseless patient Spider Message-ID: References: <1pl8set3ocirg.1v92rqtxaoq3z$.dlg@40tude.net> <69b11711-7f19-4b0f-9a5e-66b873a72cc2@googlegroups.com> <176k4qaseow2w.1cckz2yfyq3m2.dlg@40tude.net> <0878b65a-dd37-4f30-a49c-2f2e41c06f6a@googlegroups.com> <12af12c0-b497-418c-9664-8f91c17df1e3@googlegroups.com> <1md8zzdj58km6.29ifig2hpyrf$.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="fa1ef3748c46c80a9a627d7896b0bfd1"; logging-data="29405"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/K6/nUQm0GQsGlaW2rZt5UQq+VKykZ+0g=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:Fx/hbDRKKuvS/FYtrQVO8f9nYjg= sha1:ZaY6MMSGnpe8Ph+nx9Pk313okMk= Xref: news.eternal-september.org comp.lang.ada:28587 Date: 2015-11-29T11:34:05+00:00 List-Id: "Dmitry A. Kazakov" writes: > Similarly, if the requirement is to have portable stream I/O, you must > override stream attributes. Just so. With GNAT on both sides, you would stand a pretty good chance of portable stream IO by replacing s-stratt.adb by s-stratt-xdr.adb and rebuilding the library (it used to be that the gnatmake -a flag would do this, but gprbuild doesn't have that option).