🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #54249

linking sun sparc objects with binutils ld

#54249
From: Oran Davis
Date: Fri, 21 Dec 1990 20:07
28 lines
1472 bytes
Hi to all gcc experts;

I posted this question two days ago but it never apeared, do here goes:

I'm cross compiling on an Amdahl mainframe to Sun4 sparc architecture.
I'm geting the object correctly and I can link then sucessfully on the Sun.

My problem is that when I use the gnu binutils ld program it does not know how
to handle sun's dynamic linking and I get the following:

% ld -o t t.o crt0.sun3.o libc.sun3.1.a gnulib.a
crt0.sun3.o: Undefined symbol __DYNAMIC referenced from text

(crt0.sun3.o is sun's /usr/lib/crt0.o)

Does any one know how to get passed this special sun symbol and actually mimik the
sun's "ld -Bstatic" performance?

Please reply to my account and I'll post a summary.

Thanks very much in advance

	>- Oran
--
      +-----------------------+
      | Oran Davis            |
      | oran@vlss.amdahl.com  |
      +-----------------------+
Technical Details
Message-ID: <ORAN.90Dec21120726@daniela.vlss.amdahl.com>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!usc!apple!amdahl!juts!oran

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,dea2a240e7d0e0c6,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1990-12-22 04:52:47 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!usc!apple!amdahl!juts!oran
From: oran@vlss.amdahl.com (Oran Davis)
Newsgroups: gnu.gcc.help
Subject: linking sun sparc objects with binutils ld
Message-ID: <ORAN.90Dec21120726@daniela.vlss.amdahl.com>
Date: 21 Dec 90 20:07:26 GMT
Sender: netnews@ccc.amdahl.com
Distribution: gnu
Organization: Amdahl Corp., Sunnyvale CA
Lines: 28