]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/config/rs6000/t-beos
t-a29kbare: Fix some comments.
[thirdparty/gcc.git] / gcc / config / rs6000 / t-beos
1 # Do not build libgcc1.
2 LIBGCC1 =
3 CROSS_LIBGCC1 =
4
5 # We want fine grained libraries, so use the new code to build the
6 # floating point emulation libraries.
7 FPBIT = fp-bit.c
8 DPBIT = dp-bit.c
9
10 dp-bit.c: $(srcdir)/config/fp-bit.c
11 cat $(srcdir)/config/fp-bit.c > dp-bit.c
12
13 fp-bit.c: $(srcdir)/config/fp-bit.c
14 echo '#define FLOAT' > fp-bit.c
15 cat $(srcdir)/config/fp-bit.c >> fp-bit.c
16
17 # Build the libraries for both hard and soft floating point
18
19 MULTILIB_OPTIONS = msoft-float mcpu=common
20 MULTILIB_DIRNAMES = soft-float common
21
22 LIBGCC = stmp-multilib
23 INSTALL_LIBGCC = install-multilib
24
25 # This is probably the correct define, to override the Makefile
26 # default, but using it causes more problems than it solves.
27 #
28 # Using it will cause fixincludes to try and fix some of the
29 # mwcc header files, which it seems to do a poor job of. On
30 # the other hand, not using it will only cause the gcc version
31 # of limits.h to lack the header and trailer parts that are
32 # tacked on to it when there is a limits.h in the system header
33 # dir.
34 #
35 # For now it is probably better to change the rule for
36 # LIMITS_H_TEST to explicitly look for the BeOS limits.h.
37 # If the gcc limits.h is not set up to #include_next the
38 # BeOS limits.h, then some things will go undefined, like
39 # PATH_MAX.
40
41 #SYSTEM_HEADER_DIR=/boot/develop/headers/posix
42 # Test to see whether <limits.h> exists in the system header files.
43 LIMITS_H_TEST = [ -f /boot/develop/headers/posix/limits.h ]
44
45 # Aix 3.2.x needs milli.exp for -mcpu=common
46 EXTRA_PARTS = milli.exp
47 milli.exp: $(srcdir)/config/rs6000/milli.exp
48 rm -f milli.exp
49 cp $(srcdir)/config/rs6000/milli.exp ./milli.exp
50
51 # Don't use collect.
52 USE_COLLECT2 =