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,9f3f1b40d2533ab8 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.241.98 with SMTP id wh2mr2287743pbc.7.1337094288924; Tue, 15 May 2012 08:04:48 -0700 (PDT) Path: pr3ni1816pbb.0!nntp.google.com!news1.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Lucretia Newsgroups: comp.lang.ada Subject: Re: Chicken or the egg. New targets & runtimes Date: Tue, 15 May 2012 08:04:48 -0700 (PDT) Organization: http://groups.google.com Message-ID: <16362593.3378.1337094288543.JavaMail.geo-discussion-forums@vbxz8> References: <9934369.1060.1337090738467.JavaMail.geo-discussion-forums@yngr17> NNTP-Posting-Host: 90.194.162.188 Mime-Version: 1.0 X-Trace: posting.google.com 1337094288 23090 127.0.0.1 (15 May 2012 15:04:48 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 15 May 2012 15:04:48 +0000 (UTC) In-Reply-To: <9934369.1060.1337090738467.JavaMail.geo-discussion-forums@yngr17> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=90.194.162.188; posting-account=L2-UcQkAAAAfd_BqbeNHs3XeM0jTXloS User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-05-15T08:04:48-07:00 List-Id: You don't need to get the compiler onto the target, you can use a cross compiler, which runs on whatever OS you have on your dev machine which spits out binaries for your target hardware. That's basically the process for targeting a new machine. In gcc/ada/gcc-interface/Makefile.in, there are a number of lines that look like: ifeq ($(strip $(filter-out m68k% wrs vx%,$(targ))),) these match particular filters, that one is matching vxworks for m68k. To target new hardware, you would need to add a new section there, they define which packages are to be built for that target's runtime. Luke.