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: a07f3367d7,52eff1cc6012815,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!g25g2000yqn.googlegroups.com!not-for-mail From: deadlyhead Newsgroups: comp.lang.ada Subject: GNAT JVM/AVR/Mindstorms on GNU/Linux? Date: Tue, 26 Oct 2010 17:59:26 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 67.182.146.42 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1288141166 18537 127.0.0.1 (27 Oct 2010 00:59:26 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 27 Oct 2010 00:59:26 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: g25g2000yqn.googlegroups.com; posting-host=67.182.146.42; posting-account=snJuNwoAAABnc8T9lYkBlDQrDdSjOjG2 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.13) Gecko/20100916 Iceweasel/3.5.13 (like Firefox/3.5.13),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:14813 Date: 2010-10-26T17:59:26-07:00 List-Id: Just wondering if anybody has had any success using GNAT targeting either JVM, AVR-elf or Mindstorms NXT from a GNU/Linux environment. I've been trying to build a JVM cross-compiler on my Debian system with the latest stable GCC release, but have met only with failure. Comparing the patches provided by Adacore and the GCC development tree, it looks like I might have success when GCC 4.6 is released, but until then I think I'm stuck. I'd really like to develop for the NXT system, too. I have some friends whose kids who would be pretty excited at having robots that could be controlled from their computers, and at least a couple of them are old enough to be introduced to some basic programming, robotics and computer science geekery. I've been introducing them all to the joys of free software (using GNU/Linux and the Gimp, SuperTuxKart, etc), and it seems a shame that I can't use the same system to teach them about Ada and robotics at the same time. I'm just fishing for ideas here, and would like to know if anybody has tried/had any success with targeting embedded systems with GNAT from GNU/Linux (I include the JVM here because I'm looking at the possibility for developing Android apps in Ada, too). Am I crazy to think that a GCC-based compiler should work no GNU systems first, then other systems later?