OSDN Git Service

0a3f80cb9352c336920a03818b029bd9b647201d
[pf3gnuchains/gcc-fork.git] / gcc / config / t-darwin
1 darwin.o: $(srcdir)/config/darwin.c
2         $(COMPILE) $<
3
4 darwin-c.o: $(srcdir)/config/darwin-c.c
5         $(COMPILE) $(PREPROCESSOR_DEFINES) $<
6
7 gt-darwin.h : s-gtype ; @true
8
9 darwin-driver.o: $(srcdir)/config/darwin-driver.c
10         $(COMPILE) $<
11
12 # How to build crt3.o
13 EXTRA_MULTILIB_PARTS=crt3.o
14 # Pass -fno-tree-dominator-opts to work around bug 26840.
15 $(T)crt3$(objext): $(srcdir)/config/darwin-crt3.c $(GCC_PASSES) \
16         $(TCONFIG_H) stmp-int-hdrs tsystem.h
17         $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) \
18           -fno-tree-dominator-opts $(DARWIN_EXTRA_CRT_BUILD_CFLAGS) \
19           -c $(srcdir)/config/darwin-crt3.c -o $(T)crt3$(objext)
20
21 # Use unwind-dw2-fde-darwin
22 LIB2ADDEH = $(srcdir)/unwind-dw2.c $(srcdir)/unwind-dw2-fde-darwin.c \
23   $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c
24 LIB2ADDEHDEP = unwind.inc unwind-dw2-fde.h unwind-dw2-fde.c
25
26 # -pipe because there's an assembler bug, 4077127, which causes
27 # it to not properly process the first # directive, causing temporary
28 # file names to appear in stabs, causing the bootstrap to fail.  Using -pipe
29 # works around this by not having any temporary file names.
30 TARGET_LIBGCC2_CFLAGS = -fPIC -pipe