|shared library email@example.com (1994-12-29)|
|Re: shared library firstname.lastname@example.org (1995-01-02)|
|From:||email@example.com (Mike Boucher)|
|Organization:||Dakota Scientific Software, Inc.|
|Date:||Mon, 2 Jan 1995 18:25:12 GMT|
Walter Burgstaller (firstname.lastname@example.org) wrote:
: I worked with Sun C++ 3.0.1 on SunOS 4.1.3
: I compiled all files with option -pic (about 450 files)
: During linking the following output was created
: ld: GLOBAL_OFFSET_TABLE overflown : need to use -PIC
-pic allows 8K symbols, while -PIC allows more than 8K, perhaps 32K.
-PIC generates larger code that runs slower. You have so many symbols
that you need to use -PIC to use the larger symbol set. You must compile
all of your modules with -PIC rather than with the -pic.
Return to the
Search the comp.compilers archives again.