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.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,222ed89632aabb93 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.228.227 with SMTP id sl3mr7259437pbc.5.1342364763199; Sun, 15 Jul 2012 08:06:03 -0700 (PDT) Path: l9ni11880pbj.0!nntp.google.com!news2.google.com!volia.net!news2.volia.net!feed-A.news.volia.net!news.musoftware.de!wum.musoftware.de!news.karotte.org!uucp.gnuu.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Sun, 15 Jul 2012 17:06:02 +0200 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Free AMD Core Math Library (BLAS/LAPACK) + Ada References: <41b74e89-f112-4791-883d-236080652dbf@googlegroups.com> <99901f55-e61a-4808-a442-1a62e625cd2e@googlegroups.com> <37b4ba31-245e-44d1-9183-5c3367c88101@googlegroups.com> <2db42c1b-cfd4-4a6f-9e0c-ce269ddf00c5@googlegroups.com> <7cadf109-e24a-45eb-9d7c-354d8899eec4@googlegroups.com> <3f14ee5a-d055-4252-ab45-7ca512a23fac@googlegroups.com> <9cc53435-3c7f-4443-8209-5137b9377aca@googlegroups.com> <583b29e2-3f75-4b0a-8f1a-802b3d6e502c@googlegroups.com> <34139f6f-5905-4c9e-a873-0b2445a1fccd@googlegroups.com> <5002dacb$0$6552$9b4e6d93@newsspool4.arcor-online.net> In-Reply-To: <5002dacb$0$6552$9b4e6d93@newsspool4.arcor-online.net> Message-ID: <5002dc5a$0$6548$9b4e6d93@newsspool4.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 15 Jul 2012 17:06:02 CEST NNTP-Posting-Host: a02ed5d1.newsspool4.arcor-online.net X-Trace: DXC=G8^Ho[f`cGSE47KDAk81NW4IUKejVXa\BgjeC>?:W9;E]]VS4RXR X-Complaints-To: usenet-abuse@arcor.de Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Date: 2012-07-15T17:06:02+02:00 List-Id: On 15.07.12 16:59, Georg Bauhaus wrote: > On 15.07.12 15:22, Ada novice wrote: >>> > -largs -Wl,-v >>> > >>> >(*exactly* as typed!) >> OK. With SPACE after "WI," I get with gnatmake *.adb -largs -WI, -v -lblas: > > Did to put a space there on purpose? Also, that's an 'l', ell, > after 'W'. In the GCC man page, > > -Wl,option > > is listed among Linker Options. {option} needs to be separated > from the 'l', but also needs to be connected to 'Wl', not counted > among other options for gcc, not the linker. So some separator is needed, > which is the reason for the ',', I think. This was unclear. Let me try again. gcc has options such as -Wall or -Wextra, where 'W' is followed by characters, syntactically. 'l' is a character. Thus, -Wl looks like a gcc switch. For any letter 'X', -X is a gcc switch, syntactically. For it to be a linker option, it needs to be different. Or placed in a location where switches are considered not to be for gcc. (For illustration, the latter technique is used by the GNAT front end. You'd use -largs or -bargs to indicate locations for gnatlink switches and gnatbind switches.) So, -Wl,-v (without space) keeps gcc from considering -v a switch for gcc.