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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e61b229ac565c8ad,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-02 08:57:25 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!fr.usenet-edu.net!usenet-edu.net!news.tele.dk!not-for-mail Message-ID: <3C5C369D.8040909@no.spam.almroth.com> Date: Sat, 02 Feb 2002 17:57:33 -0100 From: Andreas Almroth User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.2) Gecko/20011002 Netscape6/6.1 X-Accept-Language: en-us, sv, da MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Compiling GNAT 3.14p on Solaris 8_x86 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Organization: TDC Internet NNTP-Posting-Host: 80.197.51.45 X-Trace: 1012669044 dread04.news.tele.dk 263 80.197.51.45 X-Complaints-To: abuse@post.tele.dk Xref: archiver1.google.com comp.lang.ada:19531 Date: 2002-02-02T17:57:33-01:00 List-Id: G'day netfolks, Sorry if this is not directly related to the language, but more to the development environment... As soon as I saw that the 3.14p release was on the ftp site, I downloaded it, in order to compile it for my main development platform; Solaris on Intel. As there isn't a pre-compiled release, I set to compile it myself with GNAT 3.13p. To my surprise, this didn't turn out to be the easy task as I thought in the start. I have compiled the source of 3.14p with 3.14p pre-compiled on SPARC platform, and no problems what so ever. But when trying to compile 3.14p on Intel with 3.13p, I get a lot of "undefined reference" messages from ld. a-except.o(.debug+0x5ad7): undefined reference to `L_T601' a-except.o(.debug+0x5c2b): undefined reference to `L_T608' ali.o(.debug+0x5183): undefined reference to `L_E1411' ali.o(.debug+0x51a1): undefined reference to `L_E1410' ali.o(.debug+0x51b7): undefined reference to `L_E1427' ali.o(.debug+0x51cd): undefined reference to `L_E1426' ali.o(.debug+0x51e3): undefined reference to `L_E1423' ali.o(.debug+0x51f9): undefined reference to `L_E1422' atree.o(.debug+0x177e3): undefined reference to `L_E2483' Well, my question is; As I am obviously is doing something wrong, or missing something, what is it that I'm doing wrong? I have tried with both native bin utils (as, ld, ar and ranlib), and the ones from GNU Binutils. Before I go through the painful task to actually try to produce a compiler for Intel from my Sparc installation, using cross-compilation, I would appreciate any hints or solutions to my problem. I have never made a cross-compiler with Ada linked in, so I can imagine a lot of strange things will happen on the way... I must admit I haven't checked all the documentation, but as this platform is not really the main stream, I don't think I would find much on the topic... Kind regards, Andreas Almroth -- (For direct emails, remove to obvious part of my altered email address)