🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #41693

[Q] gcc 2.7.0 -shared libraries, AIX 4.1

#41693
From: Tony Coates
Date: Mon, 26 Feb 1996 00:00
28 lines
1907 bytes
I've been trying to use gcc 2.7.0 to build a shared library under AIX
4.1, using gcc -shared.  This worked well under AIX 3.2, but under 4.1 I
get the error

	ld: 0711-327 WARNING: Entry point not found: __start

I don't know very much of the internals of the shared libraries under
AIX, but could someone comment whether gcc *should* or *would* be
generating a __start symbol (presumably for initialising the shared
library on loading)?  I would be grateful for any hints that anyone
might have.
	Thanks in advance,
					Cheers,
							Tony.

P.S. Why am I not using gcc 2.7.2?  It has some problems with namespaces
that 2.7.0 doesn't, so I'm sticking with 2.7.0 for the moment, unless
someone can point out some advantage of 2.7.2 to me with regard to this
shared library problem.
_______________________________________________________________________________
A.B.Coates, Dept. of Physics,
The University of Queensland  QLD  4072  Australia.
Email: coates@physics.uq.edu.au
WWW: http://www.physics.uq.edu.au:8001/people/coates.html
Phone: (07/+617) 33 65 34 24  Fax: (07/+617) 33 65 12 42
Disclaimer: The University is ignorant of my
            opinions, let alone guilty ...
_______________________________________________________________________________
Technical Details
Message-ID: <3130E83A.41C6@physics.uq.edu.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,2c70a55019172fcd,start
X-Google-Attributes: gid11318c,public
X-Google-Thread: 115614,2c70a55019172fcd,start
X-Google-Attributes: gid115614,public
From: Tony Coates <coates@physics.uq.edu.au>
Subject: [Q] gcc 2.7.0 -shared libraries, AIX 4.1
Date: 1996/02/26
Message-ID: <3130E83A.41C6@physics.uq.edu.au>
X-Deja-AN: 141116768
content-type: text/plain; charset=us-ascii
organization: Department of Physics, The University of Queensland
mime-version: 1.0
newsgroups: gnu.gcc.help,comp.unix.aix
x-mailer: Mozilla 2.0 (X11; I; OSF1 V3.2 alpha)