public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* darwin-powerpc compiler/linker problem
@ 2004-03-23 21:28 Laurent GUERBY
  2004-03-23 21:35 ` Andrew Pinski
  2004-03-24  0:46 ` Mike Stump
  0 siblings, 2 replies; 5+ messages in thread
From: Laurent GUERBY @ 2004-03-23 21:28 UTC (permalink / raw)
  To: gcc

Hi, I'm trying to compile a large Ada application with macada.org GCC
3.3-apple based GNAT and with 3.5. In both cases I managed to compile
the software, but at link time I get piles of linker message like
the following:

ld: xxx.o relocation overflow for relocation entry 587 in section
(__TEXT,__text) (displacement too large)

I tried -fno-common, -mminimal-toc, -fPIC (all found via google) and
various other combinations but without success. Small programs
or ACATS have no problem compiling, linking and running (-fno-common
needed with 3.5 though).

Any idea of what to try?

Thank you in advance,

Laurent


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-03-23 22:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-23 21:28 darwin-powerpc compiler/linker problem Laurent GUERBY
2004-03-23 21:35 ` Andrew Pinski
2004-03-24  0:46 ` Mike Stump
2004-03-24  5:20   ` Laurent GUERBY
2004-03-24  6:05     ` Mike Stump

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).