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=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.66.154.165 with SMTP id vp5mr6493207pab.44.1469251381717; Fri, 22 Jul 2016 22:23:01 -0700 (PDT) X-Received: by 10.157.58.116 with SMTP id j107mr504429otc.13.1469251381677; Fri, 22 Jul 2016 22:23:01 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!f6no3721195ith.0!news-out.google.com!d130ni11603ith.0!nntp.google.com!f6no3719406ith.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 22 Jul 2016 22:23:01 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2601:187:8100:ea06:c417:f44a:8b31:c749; posting-account=bO_2BwoAAACOSVlJSmplhh_hzrBSzyOY NNTP-Posting-Host: 2601:187:8100:ea06:c417:f44a:8b31:c749 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <24d4ffc3-3915-4102-96ae-68d11d881443@googlegroups.com> Subject: Inspirels Ada on cortex tutorial linker issue From: Devin Injection-Date: Sat, 23 Jul 2016 05:23:01 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:31130 Date: 2016-07-22T22:23:01-07:00 List-Id: Hello,=20 I am just getting started with Ada, and I am going through the Inspirel Ada= on Cortex m tutorial. I am trying to get my environment setup, and I am using an Orange pi pc run= ning armbian as the OS. It is an arm based single board computer, so I sho= uld be able to use the compiler and linker tools natively, at least that is= what I am understanding from the chapter of the tutorial. I am able to compile the program from the "First Program" chapter of the tu= torial without errors, but when I attempt to link the program I get an erro= r reading: program.o:(.ARM.exidx+0x0): undefined reference to '__aeabi_unwind_cpp_pr0' The linker command I am using is: ld -T flash.ld -o program.elf program.o Thank you for the help, and as I said, I am very new to this so I apologize= if I am leaving out any information that I should be providing.