PL/Perl and gcc

Started by Wade D. Oberprillerover 25 years ago3 messagesgeneral
Jump to latest
#1Wade D. Oberpriller
oberpwd@anubis.network.com

Hello,

I've noticed a section in the programmer's manual titled "Linking
Dynamically-Loaded Functions". It states that the "The GNU C compiler usually
does not provide the special options that are required to use the operating
system's dynamic loader interface. In such cases, the C compiler that comes
with the operating system must be used."

I am not a compiler wizard, so does anyone know if gcc v2.7.2.2 provides the
special options for dynamic loading?

Wade Oberpriller

In reply to: Wade D. Oberpriller (#1)
Re: PL/Perl and gcc

oberpwd@anubis.network.com (Wade D. Oberpriller) writes:

Hello,

I've noticed a section in the programmer's manual titled "Linking
Dynamically-Loaded Functions". It states that the "The GNU C compiler usually
does not provide the special options that are required to use the operating
system's dynamic loader interface. In such cases, the C compiler that comes
with the operating system must be used."

I am not a compiler wizard, so does anyone know if gcc v2.7.2.2 provides the
special options for dynamic loading?

AFAIK, that's OS specific.

--
Trond Eivind Glomsr�d
Red Hat, Inc.

#3Tom Lane
tgl@sss.pgh.pa.us
In reply to: Wade D. Oberpriller (#1)
Re: PL/Perl and gcc

oberpwd@anubis.network.com (Wade D. Oberpriller) writes:

I've noticed a section in the programmer's manual titled "Linking
Dynamically-Loaded Functions". It states that the "The GNU C compiler
usually does not provide the special options that are required to use
the operating system's dynamic loader interface. In such cases, the C
compiler that comes with the operating system must be used."

That statement looks long out of date to me --- gcc had little or no
support for shared libs years ago, but that was back in versions 1.*.

regards, tom lane