Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] Linux and -export-dynamic

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: t-ishii(at)sra(dot)co(dot)jp
Cc: hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Linux and -export-dynamic
Date: 1998-10-12 01:12:40
Message-ID: 199810120112.VAA28583@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
> >> Can someone on Linux check to see of -export-dynamic and -Bdynamic do
> >> the same thing?
> 
> I think they are different. From the man page of ld:
> 
> -export-dynamic 
>             When creating an ELF file, add all symbols  to  the
>             dynamic symbol table.  Normally, the dynamic symbol
>             table contains only symbols which are used by a dy-
>             namic  object.  This option is needed for some uses
>             of dlopen.
> 
> -Bdynamic
>             Link against dynamic libraries.  This is only mean-
>             ingful  on platforms for which shared libraries are
>             supported.  This option is normally the default  on
>             such platforms.

I figured that out as I read some more.  Thanks.  BSDI mentions
-rdynamic for such uses, but seems to understand -export-dyanamic too,
so I am using that.

-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist(at)candle(dot)pha(dot)pa(dot)us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026


In response to

pgsql-hackers by date

Next:From: Bruce MomjianDate: 1998-10-12 01:16:10
Subject: Re: [HACKERS] select * from ..;vacuum crashes
Previous:From: Bruce MomjianDate: 1998-10-12 01:10:53
Subject: Re: [HACKERS] No Shared Libs for SVR4 in src/pl/plpgsql/src/Makefile

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group