|
|
1.1 root 1: # we need to supply our own assembly versions of libgcc1.c files,
2: # since the user may not have native 'cc' available
3:
1.1.1.4 ! root 4: LIBGCC1 =
! 5: CROSS_LIBGCC1 =
1.1 root 6:
7: # gmon build rule:
8: gmon.o: $(srcdir)/config/sparc/gmon-sol2.c $(GCC_PASSES) $(CONFIG_H)
9: $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
10: -c $(srcdir)/config/sparc/gmon-sol2.c -o gmon.o
11:
12: # Assemble startup files.
13: crt1.o: $(srcdir)/config/sparc/sol2-c1.asm
14: $(AS) -o crt1.o $(srcdir)/config/sparc/sol2-c1.asm
15: crti.o: $(srcdir)/config/sparc/sol2-ci.asm
16: $(AS) -o crti.o $(srcdir)/config/sparc/sol2-ci.asm
17: crtn.o: $(srcdir)/config/sparc/sol2-cn.asm
18: $(AS) -o crtn.o $(srcdir)/config/sparc/sol2-cn.asm
1.1.1.4 ! root 19:
! 20: # We need to use -fPIC when we are using gcc to compile the routines in
! 21: # crtstuff.c. This is only really needed when we are going to use gcc/g++
! 22: # to produce a shared library, but since we don't know ahead of time when
! 23: # we will be doing that, we just always use -fPIC when compiling the
! 24: # routines in crtstuff.c.
! 25:
! 26: # Since the GNU assembler doesn't support PIC yet, we need to force gcc to
! 27: # use the native assembler when building crtstuff. If we're a
! 28: # cross-compiler, just give up on using PIC.
! 29:
! 30: CRTSTUFF_T_CFLAGS = `if [ -z "$(CROSS)" ]; then echo -fPIC -B/usr/ccs/bin/; fi`
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.