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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,3b06f2a3754e334e X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!news3.google.com!news.glorb.com!peer1.news.newnet.co.uk!194.159.246.34.MISMATCH!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: GPS example fails to compile Date: Thu, 22 Jun 2006 23:41:48 +0100 Organization: Pushface Message-ID: References: NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1151016108 2919 62.49.19.209 (22 Jun 2006 22:41:48 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Thu, 22 Jun 2006 22:41:48 +0000 (UTC) Cancel-Lock: sha1:PydXeseuKdcuxfwddeiinX6Aod8= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) Xref: g2news2.google.com comp.lang.ada:4909 Date: 2006-06-22T23:41:48+01:00 List-Id: "Xcriber51" writes: > That's fine, but how does the compiler know where the heck "matrixAlloc" > is? I can't see the actual C file where the "matrixAlloc" and similar > functions are located included or explicitly referred to in the > "matrix_binding.ads" file, either. Hmm, nor do I. I know how to tell the linker to use the C .o's; Edit > Project Properties > Switches > Ada Linker, at the bottom enter obj/matrix.o obj/matrix_utils.o and I can compile the C sources (select the file and Build > Compile File) but what I don't see is how to get GPS to do it for itself. I have to admit to not reading the instructions, though.