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!bgtnsc05-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 10:10:25 GMT NNTP-Posting-Host: 12.64.210.186 X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1244196625 12.64.210.186 (Fri, 05 Jun 2009 10:10:25 GMT) NNTP-Posting-Date: Fri, 05 Jun 2009 10:10:25 GMT Organization: AT&T Worldnet Xref: g2news2.google.com comp.lang.ada:6297 Date: 2009-06-05T10:10:25+00:00 List-Id: For GNAT you can use all options except for mainprog.ali which must be given in the command line. Also all options for ld (listed below). But it wiser to limit the use to special libraries or options like "-mwindows". It is better to use common options in a script file or the non-portable (GNAT only) project files. Also, read program documentation for details on options and if they could be conflicts if using a mix of options. Usage: gnatlink switches mainprog.ali [non-Ada-objects] [linker-options] mainprog.ali the ALI file of the main program -A Binder generated source file is in Ada (default) -C Binder generated source file is in C -f force object file list to be generated -g Compile binder source file with debug information -n Do not compile the binder source file -v verbose mode -v -v very verbose mode -o nam Use 'nam' as the name of the executable -b target Compile the binder source to run on target -Bdir Load compiler executables from dir --GCC=comp Use comp as the compiler --LINK=nam Use 'nam' for the linking rather than 'gcc' [non-Ada-objects] list of non Ada object files [linker-options] other options for the linker Usage: ld [-d] [-dc] [-dp] [-e symbol] [-l lib] [-n] [-noinhibit-exec] [-nostdlib] [-o file] [-r] [-s] [-t] [-u symbol] [-x] [-y symbol] [-z] [-A file] [-Bstatic] [-D size] [-L libdir] [-M] [-N] [-S] [-T[{text,data}] addr] [-V prefix] [-X] [file...] 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