]>
Commit | Line | Data |
---|---|---|
c547e838 | 1 | # We have to use the cross-compiler we just built to compile it. |
63eac4d4 | 2 | CC = gcc -b $(host) |
c547e838 RS |
3 | |
4 | # Need those to compile binaries running on host machine. | |
5 | # It is configured by | |
6 | # | |
7 | # configure --host=target_cpu-target_os \ | |
8 | # --target=host=target_cpu-target_os --build=host_cpu-host_os | |
9 | # | |
10 | # That HOST stuff has to be taken care of very carefully. | |
11 | HOST_PREFIX=l- | |
12 | HOST_PREFIX_1=$(HOST_PREFIX) | |
13 | HOST_CC=$(CC) -b $(build) | |
7ccb4206 AO |
14 | HOST_CFLAGS=$(INTERNAL_CFLAGS) $(T_CFLAGS) $(CFLAGS) $(XCFLAGS) \ |
15 | -DGENERATOR_FILE | |
c547e838 RS |
16 | HOST_CLIB= |
17 | HOST_LDFLAGS=$(LDFLAGS) | |
18 | HOST_CPPFLAGS=$(ALL_CPPFLAGS) | |
19 | HOST_ALLOCA=$(ALLOCA) | |
20 | HOST_MALLOC=$(MALLOC) | |
21 | HOST_OBSTACK=$(OBSTACK) | |
22 | ||
d3713561 RK |
23 | # To build the native compiler with the cross compiler, the headers |
24 | # for the target are already fixed. And /usr/include is for host, not | |
25 | # target. | |
f95e46b9 | 26 | STMP_FIXINC = |
c5b2181c JW |
27 | STMP_FIXPROTO = |
28 | ||
c547e838 | 29 | # Cause installation using install-build. We do nothing here. |
7e717196 | 30 | #INSTALL_TARGET = install-build |
c547e838 RS |
31 | |
32 | # Don't try to compile the things we can't compile or we have made | |
33 | # while making gcc with the cross-compiler. | |
7e717196 | 34 | #ALL = all.build |