head	1.5;
access;
symbols
	gcc-2_8_1-990325:1.5
	gcc-2_8_1-990319:1.5
	gcc-2_8_1-990302:1.5
	gcc_2_8_1-990302:1.5
	gcc_2_8_1-990222:1.5
	gcc-2_8_1-990109:1.5
	gcc-2_8_1-981210:1.5
	gcc-2_8_1-981208:1.5
	gcc-2_8_1-980929:1.5
	gcc_2_8_1-980929:1.5
	gcc-2_8_1-980928:1.5
	gcc-2_8_1-980813:1.5
	gcc-2_8_1-980811:1.5
	gcc-2_8_1-980718:1.5
	gcc-2_8_1-980705:1.5
	gcc-2_8_1-980627:1.5
	gcc-2_8_1-980609:1.5
	gcc-2_8_1-980608:1.5
	gcc-2_8_1-980529:1.5
	gcc-2_8_1-980525:1.5
	gcc-2_8_1-980513:1.5
	gcc-2_8_1-980502:1.5
	gcc-2_8_1-980402:1.5
	gcc-2_8_1-980426:1.5
	gcc-2_8_1-980419:1.5
	gcc-2_8_1-980413:1.5
	gcc-2_8_1-980412:1.5
	gcc-2_8_1-980407:1.5
	gcc-2_8_1-980401:1.5
	gcc_2_8_1-980315:1.5
	gcc-2_8_1-RELEASE:1.5;
locks; strict;
comment	@# @;


1.5
date	96.04.15.11.28.50;	author kenner;	state Exp;
branches;
next	1.4;

1.4
date	96.02.10.20.12.35;	author wilson;	state Exp;
branches;
next	1.3;

1.3
date	94.09.28.23.24.12;	author kenner;	state Exp;
branches;
next	1.2;

1.2
date	92.12.19.22.52.27;	author rms;	state Exp;
branches;
next	1.1;

1.1
date	92.10.21.22.18.09;	author rms;	state Exp;
branches;
next	;


desc
@@


1.5
log
@(CC): Pass -b $(host), not target.
@
text
@# We have to use the cross-compiler we just built to compile it.
CC = gcc -b $(host)

# Need those to compile binaries running on host machine.
# It is configured by
#
# configure --host=target_cpu-target_os \
#	--target=host=target_cpu-target_os --build=host_cpu-host_os
#
# That HOST stuff has to be taken care of very carefully.
HOST_PREFIX=l-
HOST_PREFIX_1=$(HOST_PREFIX)
HOST_CC=$(CC) -b $(build)
HOST_CFLAGS=$(INTERNAL_CFLAGS) $(T_CFLAGS) $(CFLAGS) $(XCFLAGS)
HOST_CLIB=
HOST_LDFLAGS=$(LDFLAGS)
HOST_CPPFLAGS=$(ALL_CPPFLAGS)
HOST_ALLOCA=$(ALLOCA)
HOST_MALLOC=$(MALLOC)
HOST_OBSTACK=$(OBSTACK)

# To build the native compiler with the cross compiler, the headers 
# for the target are already fixed. And /usr/include is for host, not
# target.
FIXINCLUDES=Makefile.in

# Don't run fixproto either
STMP_FIXPROTO =

# Cause installation using install-build. We do nothing here.
INSTALL_TARGET = install-build

# Don't try to compile the things we can't compile or we have made
# while making gcc with the cross-compiler.
ALL = all.build
@


1.4
log
@(STMP_FIXPROTO): Moved here from cross-make.
@
text
@d2 1
a2 1
CC = gcc -b $(target)
@


1.3
log
@(FIXINCLUDES): Set to Makefile.in.
@
text
@d27 3
@


1.2
log
@(CC): Delete the -V option.
@
text
@d22 4
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
CC = gcc -b $(target) -V $(version)
@
