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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,81bb2ce65a3240c3 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.227.67 with SMTP id ry3mr9734874pbc.8.1341494565147; Thu, 05 Jul 2012 06:22:45 -0700 (PDT) Path: l9ni10938pbj.0!nntp.google.com!news1.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: shai.lesh@gmx.com Newsgroups: comp.lang.ada Subject: Re: What would you like in Ada202X? Date: Thu, 5 Jul 2012 06:07:05 -0700 (PDT) Organization: http://groups.google.com Message-ID: <95a28c69-f8fc-4910-9554-7c561d23879c@googlegroups.com> References: <359469402363169386.837099rmhost.bauhaus-maps.arcor.de@news.arcor.de> NNTP-Posting-Host: 193.11.21.204 Mime-Version: 1.0 X-Trace: posting.google.com 1341494564 26768 127.0.0.1 (5 Jul 2012 13:22:44 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 5 Jul 2012 13:22:44 +0000 (UTC) Cc: nma@12000.org In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=193.11.21.204; posting-account=Rr9I-QoAAACS-nOzpA-mGxtAlZ46Nb6I User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-07-05T06:07:05-07:00 List-Id: On Thursday, July 5, 2012 1:21:15 PM UTC+1, Nasser M. Abbasi wrote: > On 7/5/2012 7:11 AM, Nasser M. Abbasi wrote: > >> ./example1 > > Dot product is: 0.00000E+00 How did you compile and run example 1? I created a project in GPS with example1.adb as the main file in the same directory as Ada_BLAS. I get lots of error messages: gnatmake -d -PE:\learsof\ada\Ada_BLAS\pure.gpr gnatbind -E -I- -x E:\learsof\ada\Ada_BLAS\example1.ali gnatlink E:\learsof\ada\Ada_BLAS\example1.ali -g -o E:\learsof\ada\Ada_BLAS\example1.exe E:\learsof\ada\Ada_BLAS\example_support.o: In function `example_support__real_blas__amax': E:/learsof/ada/Ada_BLAS/ada_blas-real.adb:68: undefined reference to `isamax_' ...long list here E:\learsof\ada\Ada_BLAS\example1.o: In function `example_support__real_blas__dot__2': E:/learsof/ada/Ada_BLAS/ada_blas-real.adb:388: undefined reference to `sdot_' collect2: ld returned 1 exit status gnatlink: error when calling C:\GNAT\2012\bin\gcc.exe gnatmake: *** link failed. Would you kindly explain how you succeeded? I am on a Windows platform. Thanks. YC