comp.lang.ada
 help / color / mirror / Atom feed
* Compiling GNAT 3.14p on Solaris 8_x86
@ 2002-02-02 18:57 Andreas Almroth
  0 siblings, 0 replies; only message in thread
From: Andreas Almroth @ 2002-02-02 18:57 UTC (permalink / raw)


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.

<Excerpt>
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'
</Excerpt>

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)




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-02-02 18:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-02 18:57 Compiling GNAT 3.14p on Solaris 8_x86 Andreas Almroth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox