From: anon@anon.org (anon)
Subject: Re: pragma Linker_Options
Date: Fri, 05 Jun 2009 04:44:21 GMT
Date: 2009-06-05T04:44:21+00:00 [thread overview]
Message-ID: <Fo1Wl.50935$d36.47368@bgtnsc04-news.ops.worldnet.att.net> (raw)
In-Reply-To: b0fc55f5-4142-4e34-a03f-aa14ea8caaba@o14g2000vbo.googlegroups.com
The options are what you use in the linker command line. This is an example
that I use for Sockets to hide the library file that contains the Sockets library
from the command-line:
package GNAT.Sockets.Linker_Options is
-- Empty version of this package.
private
pragma Linker_Options ( "-lsocket" ) ;
end GNAT.Sockets.Linker_Options ;
Of course, there are other ways of using the "pragma", but mostly it used
for library paths "-L" and libraries "-l". Also, you must use a pragma for
each option:
...
pragma Linker_Options ( "-L/usr/lib/tcpip" ) ;
pragma Linker_Options ( "-lsocket" ) ;
...
In <b0fc55f5-4142-4e34-a03f-aa14ea8caaba@o14g2000vbo.googlegroups.com>, Rick <rickduley@gmail.com> writes:
>The Ada LRM section B.1. refers to pragma Linker_Options.
>Unfortunately, it does not list the options.
>
>I use "-mwindows" to hide the command screen when Iwrite an interface
>using GtkAda, There are probably others. Would someone please tell
>me where to find them?
>
>Thanks
next prev parent reply other threads:[~2009-06-05 4:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-05 2:42 pragma Linker_Options Rick
2009-06-05 4:44 ` anon [this message]
2009-06-05 7:43 ` Gautier
2009-06-05 8:52 ` Dmitry A. Kazakov
2009-06-05 9:22 ` Georg Bauhaus
2009-06-05 10:10 ` anon
-- strict thread matches above, loose matches on Subject: below --
2009-06-05 22:55 rickduley
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox