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.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!news-in-01.newsfeed.easynews.com!easynews!core-easynews-01!easynews.com!en-nntp-15.dc1.easynews.com.POSTED!not-for-mail From: agent@drrob1.com Newsgroups: comp.lang.ada Subject: Re: texttools and standard library packages Message-ID: References: <83jfa95ibgj73rsr9r8d038plvrm6m4d8d@4ax.com> <1dld0z8pf8o8b.n59l143irgob.dlg@40tude.net> User-Agent: ForteAgent/7.20.32.1218 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@easynews.com Organization: Forte Inc. http://www.forteinc.com/apn/ X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly. Date: Wed, 18 Dec 2013 20:40:22 -0500 X-Received-Bytes: 2713 X-Original-Bytes: 2838 Xref: number.nntp.dca.giganews.com comp.lang.ada:184295 Date: 2013-12-18T20:40:22-05:00 List-Id: On Mon, 16 Dec 2013 09:23:26 +0000, Simon Wright wrote: >"Dmitry A. Kazakov" writes: > >> If the library you need is already packaged as Ludovic suggested, then >> all you need is to use its project file in your project: >> >> with "the_library_i_need.gpr"; >> project Basic is >> for Main use "basic.adb"; >> end Basic; >> >> $ gnatmake -Pmy_project.gpr > >That would give you a warning; the project file name should be the same >as the name of the project, so here it should be basic.gpr. > >This is, I believe, case-insensitive. I have been able to compile trivial examples using a project file, so I have now attempted to compile the examples from the texttools. I started with basic.adb with "texttools"; project Debug is for Source_Files use ("basic.adb"); for Source_Dirs use ("./**"); for Object_Dir use "debug"; for Main use ("basic"); package Builder is for Default_Switches ("Ada") use ("-g"); for Executable ("basic") use "test"; end Builder; package Compiler is for Default_Switches ("Ada") use ("-fstack-check", "-gnatVa", "-g", "-gnato", "-gnatf", "-gnatwu", "-gnat2012"); end Compiler; package Linker is for Default_Switches ("Ada") use ("-C", "-lm", "-lncurses" ); end Linker; end Debug; and I did gnatmake -Pdebug I am now getting this error: "gnatlink: failed to open binder output" What should I try now? Thanks guys for all your help --rob