1 # We have to use the cross-compiler we just built to compile it.
4 # Need those to compile binaries running on host machine.
7 # configure --host=target_cpu-target_os \
8 # --target=host=target_cpu-target_os --build=host_cpu-host_os
10 # That HOST stuff has to be taken care of very carefully.
12 HOST_PREFIX_1=$(HOST_PREFIX)
13 HOST_CC=$(CC) -b $(build)
14 HOST_CFLAGS=$(INTERNAL_CFLAGS) $(T_CFLAGS) $(CFLAGS) $(XCFLAGS)
16 HOST_LDFLAGS=$(LDFLAGS)
17 HOST_CPPFLAGS=$(ALL_CPPFLAGS)
20 HOST_OBSTACK=$(OBSTACK)
22 # To build the native compiler with the cross compiler, the headers
23 # for the target are already fixed. And /usr/include is for host, not
28 # Cause installation using install-build. We do nothing here.
29 #INSTALL_TARGET = install-build
31 # Don't try to compile the things we can't compile or we have made
32 # while making gcc with the cross-compiler.