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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,5c3e31bb2906420 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Received: by 10.204.145.80 with SMTP id c16mr337130bkv.2.1324337736020; Mon, 19 Dec 2011 15:35:36 -0800 (PST) Path: jh9ni31306bkb.0!nntp.google.com!news2.google.com!postnews.google.com!q9g2000yqe.googlegroups.com!not-for-mail From: Rugxulo Newsgroups: comp.lang.ada Subject: Re: NVIDIA opens up CUDA compiler for other languages Date: Mon, 19 Dec 2011 15:35:34 -0800 (PST) Organization: http://groups.google.com Message-ID: <1e536f87-75d1-46e6-8416-970a60178a98@q9g2000yqe.googlegroups.com> References: <8bf92545-8498-46d0-a6e6-a240113a4f18@j10g2000vbe.googlegroups.com> NNTP-Posting-Host: 65.13.115.246 Mime-Version: 1.0 X-Trace: posting.google.com 1324337735 23812 127.0.0.1 (19 Dec 2011 23:35:35 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 19 Dec 2011 23:35:35 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: q9g2000yqe.googlegroups.com; posting-host=65.13.115.246; posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HNKRAUELSC X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.630.0 Safari/534.16,gzip(gfe) Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2011-12-19T15:35:34-08:00 List-Id: Hi, I'm pretty sure I'm the wrong person to answer this, but oh well. ;-) On Dec 16, 9:08=A0am, jonathan wrote: > On Dec 16, 1:43=A0pm, Adrian-Ken Rueegsegger wrote: > > > If I understood the article correctly this requires a working > > LLVM-Frontend for Ada. I do not know what the status of the current > > implementation [1] is but maybe somebody more knowledgeable about LLVM > > with regards to Ada could comment on that and give their take? > > I haven't had a chance to try it yet, but the new LLVM 3.0 > has been out a few weeks, along with the new Ada front end > > =A0 =A0http://dragonegg.llvm.org/ > > They say: > > =A0 =A0Patching and building GCC is no longer required: the plugin should > =A0 =A0work with your system GCC (version 4.5 or 4.6; on Debian/Ubuntu > systems > =A0 =A0the gcc-4.5-plugin-dev or gcc-4.6-plugin-dev package is also > needed). > > which sounds encouraging. Clang does not have an Ada frontend. It's a "C language"-based compiler only, e.g. C / C++ / Objective C / Objective C++. LLVM is the backend, hence the (now deprecated, no longer updated, not available in LLVM 3.0) LLVM-GCC (GCC 4.2) compiler was needed to compile Ada source code while targeting the LLVM backend. DragonEgg is a plugin for GCC proper (specifically, 4.5.x or 4.6.x) which targets the LLVM backend. Since GCC (only, and not Clang) has an Ada frontend / compiler, you must use that.