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: border1.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!newsfeed.fsmpi.rwth-aachen.de!reality.xs3.de!news.jacob-sparre.dk!loke.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail From: Tero Koskinen Newsgroups: comp.lang.ada Subject: Re: What Toolchain do you use? Date: Thu, 16 Jan 2014 06:48:28 +0200 Organization: Jacob Sparre Andersen Research & Innovation Message-ID: References: <91d2c873-0ae2-4980-8481-9e3caef7371b@googlegroups.com> NNTP-Posting-Host: 87-95-26-235.bb.dnainternet.fi Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: loke.gir.dk 1389847708 19975 87.95.26.235 (16 Jan 2014 04:48:28 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Thu, 16 Jan 2014 04:48:28 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: Xref: number.nntp.dca.giganews.com comp.lang.ada:184444 Date: 2014-01-16T06:48:28+02:00 List-Id: 16.1.2014 1:36, Randy Brukardt wrote: > wrote in message > news:c5afcdcd-3eed-4fdb-88fb-b15949993c41@googlegroups.com... > ... >> What build system does Janus/Ada and ICCAda use? > > Janus/Ada has it's own build system, which predates gprbuild by many years. > It isn't as encompassing as gprbuild is, so I usually augment it with > Windows (really MS-DOS) batch files (for instance, to move the result > program to a different directory). > > Based on Tero's very detailed bug reports, he does something similar with > Janus/Ada. From Ahven's source code you can see how I use Janus/Ada's build system: https://bitbucket.org/tkoskine/ahven/src/tip/janusada/?at=default The flow is basically following: janusada\prepare.bat janusada\update.bat janusada\compile.bat prepare.bat needs to be called only once and when I change source code files, I call update.bat and compile.bat. update.bat will scan the source code files for changes and compile.bat will compile the changed files and do the linking. Ahven doesn't have ICCAda build scripts yet, but you can see them from my curl-ada repository: https://bitbucket.org/tkoskine/curl-ada/src/tip/iccada/?at=default Same logic there: iccada\prepare.bat iccada\update.bat iccada\compile.bat Yours, Tero