freepooma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [pooma-dev] GCC Questions


From: Mark Mitchell
Subject: RE: [pooma-dev] GCC Questions
Date: Mon, 29 Oct 2001 13:31:54 -0800



--On Friday, October 26, 2001 02:15:27 PM -0600 Dave Nystrom <address@hidden> wrote:

Also, what options do I use to build and use shared libraries?

It is slightly different from system to system.  On most systems:

 gcc -fPIC -c a.c        // Compile the objects in the shared
                         // library.
 gcc -shared -o a.so a.o // Build the shared library.

On IRIX 6, I think all objects are implicitly PIC, so you probably
don't need the -fPIC.

--
Mark Mitchell                address@hidden
CodeSourcery, LLC            http://www.codesourcery.com

reply via email to

[Prev in Thread] Current Thread [Next in Thread]