From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,e277993d18be2b84,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-04-08 20:24:13 PST Path: supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.stealth.net!intgwpad.nntp.telstra.net!news-server.bigpond.net.au!not-for-mail Message-ID: <3AD12B02.CFD2333E@canb.auug.org.au> From: Michael Thomson X-Mailer: Mozilla 4.76 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.unix.tru64 Subject: Linker Problems Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 09 Apr 2001 03:22:41 GMT NNTP-Posting-Host: 61.9.148.119 X-Complaints-To: news@bigpond.net.au X-Trace: news-server.bigpond.net.au 986786561 61.9.148.119 (Mon, 09 Apr 2001 13:22:41 EST) NNTP-Posting-Date: Mon, 09 Apr 2001 13:22:41 EST Organization: BigPond Internet Services (http://www.bigpond.net.au) Xref: supernews.google.com comp.unix.tru64:2051 Hi, I'm new to the Tru64 OS and am trying to port some software to the platform. The problem I am running into is the linker does not seem to be doing what "I think i'm trying to tell it" I have a archive library that I want to include in shared object but at the end of the so's creation I do not want to see any of the archives entry points externally available. I have been trying to use the -hidden and -none flags on the link and I cannot seem to get rid of the archives entry points. Anyone got any idea of what I'm doing wrong. ld -shared -o fred.so fred.o stuff.o -hidden extras.a If this is the wrong approach, what is the correct approach, Is there an option to specify a list of entry points are that to be externalized by the .so? Thanks, Michael.