On Wed, 4 Oct 2000, Igor Khasilev wrote:
sorry, just i can quote the related man pages:
-shared
Produce a shared object which can then be linked
with other objects to form an executable. Only a
few systems support this option.
-fpic If supported for the target machines, generate po-
sition-independent code, suitable for use in a
shared library.
-fPIC If supported for the target machine, emit position-
independent code, suitable for dynamic linking,
even if branches need large displacements.
so how i see the -shared -fPIC fits.
or, maybe usable to decide platform independent, the libtool.
the dburl problem not solved, but now I will debug too.
> On Tue, 3 Oct 2000, Tamas SZERB wrote:
>
> > Igor, don't You want to use -fPIC for the .so files in compile time?
>
> I tried -shared before -fPIC and it worked, so I decided use it. Is there
> difference betwen -shared and -fpic (-fPIC) with gcc?
>
> Sorry for delay with your question re. dburl. Alas, I still can't understand
> what happens.
>
> Igor Khasilev |
> PACO Links, igor at paco dot net |
>
> =====================================================================
> If you would like to unsubscribe from this list send message to
> [EMAIL PROTECTED] with "unsubscribe oops-eng" in message body.
> Archive is accessible on http://www.paco.net/oops/
>
--
VWOL
Tamas SZERB <[EMAIL PROTECTED]>
GPG public key: http://alabama.inf.elte.hu/~toma/gpgkey.asc
PGP public key: http://alabama.inf.elte.hu/~toma/pgpkey.asc
=====================================================================
If you would like to unsubscribe from this list send message to
[EMAIL PROTECTED] with "unsubscribe oops-eng" in message body.
Archive is accessible on http://www.paco.net/oops/