From: agent@drrob1.com
Subject: Re: texttools and standard library packages
Date: Thu, 19 Dec 2013 07:59:44 -0500
Date: 2013-12-19T07:59:44-05:00 [thread overview]
Message-ID: <7br5b952agm05lqiuc1n52ihm4ccmu72ao@4ax.com> (raw)
In-Reply-To: lywqj1qkuw.fsf@pushface.org
On Thu, 19 Dec 2013 08:57:11 +0000, Simon Wright <simon@pushface.org>
wrote:
>agent@drrob1.com writes:
>
>> 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"
>
>Where did the -C switch come from in package Linker?
>
> $ gnatlink -C
> gnatlink: -C.ali not found
>
>(on the other hand, I just tried with one of my own GPRs and the command
>line that gnatmake successfully passed to gnatlink was
>
> gnatlink foo.ali -C -o foo
>
>The -C didn't get passed to the system linker.
This is the full output from that attempt
gnatbind -shared -I- -x /home/rob/Ada/tt/debug/basic.ali
gnatlink /home/rob/Ada/tt/debug/basic.ali -shared-libgcc -g -C -lm
-lncurses -L/usr/lib/x86_64-linux-gnu/ -ltexttools -o
/home/rob/Ada/tt/debug/test
gnatmake: *** link failed.
gnatlink: Failed to open binder output
I see the -C in there, but I don't know what it does
next prev parent reply other threads:[~2013-12-19 12:59 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
2013-12-19 8:57 ` Simon Wright
2013-12-19 12:59 ` agent [this message]
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