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-Thread: 103376,80a657b612f5bad1 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 X-FeedAbuse: http://nntpfeed.proxad.net/abuse.pl feeded by 88.191.65.235 Path: g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!nntpfeed.proxad.net!news.side3.eu!news.motzarella.org!motzarella.org!not-for-mail From: Ivan Levashew Newsgroups: comp.lang.ada Subject: Re: Creating and using Ada packages: need refinement Date: Wed, 26 Mar 2008 15:30:37 +0600 Organization: A noiseless patient Spider Message-ID: References: <1205541163.8209.16.camel@K72> <87fxur8un0.fsf@ludovic-brenta.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: feeder.motzarella.org U2FsdGVkX18L79Xr5EVhqBH6IX8c8C0QySmTtzUHdurs6UGEc/J/fqbNBUEpOhmOlw87Pvm/VzRKPIs8yW7V76k0TdrQuJ/X2zsO0llorbUxv0N3TZ/ISF1BjagIZfWl3bCSwQycu1I= X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers NNTP-Posting-Date: Wed, 26 Mar 2008 09:23:08 +0000 (UTC) In-Reply-To: <87fxur8un0.fsf@ludovic-brenta.org> X-Auth-Sender: U2FsdGVkX1/5JeF6PqYeZla+IOXYj1btBFYR91E9XAWQ7s9HyOTTeQ== X-Image-URL: http://img220.echo.cx/img220/9664/111408397042725603791c71pb.gif Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEUAAAOZlpMaJz3/9fYs //8FP1E2M3Qbef+MAAACEklEQVQ4jZ2TTW7bMBCFJwO465B2uqZfS+4NnyBA7LXMerSPEPL+R+gb KqmTIAWKDiCCmo9v/kSJqGaVJCp/TLk3kbypSPmdX2QD2YikTUrAe6CqiWuCL/LR3Cfu/AJgbP4K Phtjfz77vwAfOv4XkNPXVSkqwZvmfTZMAriHMOGG1EOt7xw1Rli8hTIkV4DDTIFn6qqYZJ5JFLhT yIVnHAoIrlYTNGKf7yVMUS4yvYITdC8EMaZwHyX4t4ERnCv2uN+HGMFH4x2bHuDEahD1IUR18LAn mC3Jjork3Wny28Gp+h1pMhR08VV9s55hc/J08qrg90RHP15uXag4c1pYMFvVbHmBB3bFtVGBpVwe z+Hno7UyABU8yYEt1l5q+P54Mj8sM5dsVdRqu4RDCLvWGn2lj8pMJdC2BMdtCFG0L8rptiz6Y3s8 Hh1wjehXby133vRneo5hBSgvu+rfozdodnDYui6g7645m1jpVXELFUtnz6yo9MUKfo1YhzXF6WSc bu09Ax7rcGSsgNKezKggaDNGLH8icz80EsmlcwxOPMcBBJZd0VnWzOnSGbYUMEXNnqO00gvB4p1T gG7TUMydxjljz9xxAAyFzUvpfiEZLHD91iwNhVmvfXybYaksDioVlDh4JdqbwVYFyQ2Unq8EeQDr GDfcrS/ZUF8VJAtWUW8pPyFXr8oDMun4r0pHgiVMafoNgUqRDtakwdAAAAAASUVORK5CYII= X-Face: *tpB#/X3&Zh\?<4l;hAgY:m6lt6L]v#Udy\Xwy{@<'qP=9clA}kEbbSV1]B0a^O{|ibsNV~|zu.Da}V4*se@ns!8*Bt$9l-]nbD}o*7ml9J2)u:"!6P%_-`y9,'.L.Psp),njUf!=F5;kx%~\,'D$%{" Cancel-Lock: sha1:NLLXxmKGn1nCCoOefYDGolDs9dw= User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; ru; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 ThunderBrowse/3.2.1 Mnenhy/0.7.5.666 Xref: g2news1.google.com comp.lang.ada:20573 Date: 2008-03-26T15:30:37+06:00 List-Id: Ludovic Brenta пишет: > That's ugly. Look at how the Debian Policy for Ada solves the problem > of using multiple libraries in a single program: > > http://www.ada-france.org/debian/debian-ada-policy.html I can't make my packages just for Debian, however I can ease life of Debian maintainers. And GNAE documentation was removed from website. I'm not sure if I can rely on it. Adaproject seems to be unmaintained. I wasn't able to install it with just ./configure-make-make install. ./config.status replaces @prefix@ with /usr/local which is OK, but @exec_prefix@ with ${prefix} which is not OK in the resulting shell script file. Adaproject's out-of-box licenses are just BSD & GPL. No any GMGPL. I might have better luck with raw Autotools. I have found old similar topic: http://groups.google.ru/group/comp.lang.ada/browse_frm/thread/ab5f27c42c253ac5/1500582f20e9b1b8?hl=ru&tvc=1 I had an impression that virtually nobody cares about Ada packages' usage on a non-standard platform like Mac OS X. Consider this example: http://developer.apple.com/technotes/tn2005/tn2137.html > env CFLAGS="-O -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch \ > i386 -arch ppc" LDFLAGS="-arch i386 -arch ppc" ./configure \ > --prefix=${HOME}/Hello --disable-dependency-tracking That's how average GNU autotools-based packages are compiled on Mac OS X. Autotools' generated packages were flexible enough to make it possible to compile many of them without headaches. ./configure invocation is virtually the same for the most of Autotools packages. You can even make a proxy script that sets these CFLAGS&LDFLAGS&configure parameters to make its invokation shorter. My aim is to write such a line for an ideal Ada-containing package. I'd like to make my Ada packages OS-agnostic but easily tunable for my OS. -- If you want to get to the top, you have to start at the bottom