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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,a1f8e42d9bc80c5e X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news.glorb.com!news2.glorb.com!wn11feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!53ab2750!not-for-mail Newsgroups: comp.lang.ada From: anon@anon.org (anon) Subject: Re: pragma Linker_Options Reply-To: anon@anon.org (anon) References: X-Newsreader: IBM NewsReader/2 2.0 Message-ID: Date: Fri, 05 Jun 2009 04:44:21 GMT NNTP-Posting-Host: 12.64.24.75 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc04-news.ops.worldnet.att.net 1244177061 12.64.24.75 (Fri, 05 Jun 2009 04:44:21 GMT) NNTP-Posting-Date: Fri, 05 Jun 2009 04:44:21 GMT Organization: AT&T Worldnet Xref: g2news2.google.com comp.lang.ada:6286 Date: 2009-06-05T04:44:21+00:00 List-Id: 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 , Rick 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