From: agent@drrob1.com
Subject: Re: texttools and standard library packages
Date: Wed, 18 Dec 2013 20:40:22 -0500
Date: 2013-12-18T20:40:22-05:00 [thread overview]
Message-ID: <fdj4b9podfrj9r5lopgtfpsieccccob7qb@4ax.com> (raw)
In-Reply-To: ly61qp87zl.fsf@pushface.org
On Mon, 16 Dec 2013 09:23:26 +0000, Simon Wright <simon@pushface.org>
wrote:
>"Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> 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
next prev parent reply other threads:[~2013-12-19 1:40 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-11 2:25 texttools and standard library packages agent
2013-12-11 12:48 ` Niklas Holsti
2013-12-12 12:34 ` agent
2013-12-12 17:44 ` Niklas Holsti
2013-12-12 18:00 ` Dmitry A. Kazakov
2013-12-16 0:43 ` agent
2013-12-16 1:11 ` Ludovic Brenta
2013-12-16 1:38 ` agent
2013-12-16 8:18 ` Dmitry A. Kazakov
2013-12-16 9:23 ` Simon Wright
2013-12-19 1:40 ` agent [this message]
2013-12-19 8:57 ` Simon Wright
2013-12-19 12:59 ` agent
2013-12-20 1:46 ` agent
2013-12-15 22:05 ` koburtch
2013-12-22 19:24 ` koburtch
2013-12-27 0:35 ` agent
2014-01-03 21:38 ` Ludovic Brenta
2014-01-05 21:33 ` agent
2013-12-27 0:36 ` agent
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox