OSDN Git Service

Shared library support.
[pf3gnuchains/gcc-fork.git] / gcc / config / t-svr4
1 # For svr4 we build crtbegin.o and crtend.o which serve to add begin and
2 # end labels to the .ctors and .dtors section when we link using gcc.
3
4 EXTRA_PARTS=crtbegin.o crtend.o
5
6 # We need to use -fpic when we are using gcc to compile the routines in
7 # crtstuff.c.  This is only really needed when we are going to use gcc/g++
8 # to produce a shared library, but since we don't know ahead of time when
9 # we will be doing that, we just always use -fpic when compiling the
10 # routines in crtstuff.c.
11
12 CRTSTUFF_T_CFLAGS = -fpic