source: trunk/third/gcc/build-make @ 8834

Revision 8834, 997 bytes checked in by ghudson, 28 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r8833, which included commits to RCS files with non-trunk default branches.
Line 
1# We have to use the cross-compiler we just built to compile it.
2CC = gcc -b $(target)
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.
11HOST_PREFIX=l-
12HOST_PREFIX_1=$(HOST_PREFIX)
13HOST_CC=$(CC) -b $(build)
14HOST_CFLAGS=$(INTERNAL_CFLAGS) $(T_CFLAGS) $(CFLAGS) $(XCFLAGS)
15HOST_CLIB=
16HOST_LDFLAGS=$(LDFLAGS)
17HOST_CPPFLAGS=$(ALL_CPPFLAGS)
18HOST_ALLOCA=$(ALLOCA)
19HOST_MALLOC=$(MALLOC)
20HOST_OBSTACK=$(OBSTACK)
21
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
24# target.
25FIXINCLUDES=Makefile.in
26
27# Cause installation using install-build. We do nothing here.
28INSTALL_TARGET = install-build
29
30# Don't try to compile the things we can't compile or we have made
31# while making gcc with the cross-compiler.
32ALL = all.build
Note: See TracBrowser for help on using the repository browser.