Thread: PL/Perl and gcc
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
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.
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