🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #41812

duplicate entry points?

#41812
From: John Paulson
Date: Wed, 14 Feb 1996 00:00
22 lines
889 bytes
I have a shared library that has an entry point called fred, but
one of the other shared libraries also has an entry point called 
fred.  When I call fred, I get the shared library's fred.

I WANT MY fred().

Using Sun 2.4 compiler i specify:

ld -i -G -Bsymbolic -z text

to get the correct behavior (i.e. to look in my shared library for entry 
point before looking in other shared libraries).

How can I do the same thing using GCC on LINUX?

Thanks

jpaulson@ensodex.com

or

paulson@winternet.com
Technical Details
Message-ID: <4frqnt$obe@blackice.winternet.com>
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,626180b994234340,start
X-Google-Attributes: gid11318c,public
From: paulson@winternet.com (John Paulson)
Subject: duplicate entry points?
Date: 1996/02/14
Message-ID: <4frqnt$obe@blackice.winternet.com>
X-Deja-AN: 139292121
organization: StarNet Communications, Inc
newsgroups: gnu.gcc.help