gcc/gcc/build-make
Jeffrey A Law 7e71719699 Makefile.in (TARGET_TOOLPREFIX): No longer define.
* Makefile.in (TARGET_TOOLPREFIX): No longer define.
        (AR_FOR_TARGET, RANLIB_FOR_TARGET): Define to use versions in
        the build tree if they exist.
        (AR, AR_FLAGS, OLDAR, OLDAR_FLAGS, RANLIB, RANLIB_TEST): Update
        appropriately.
        (objdir): Let configure substitute value.
        (FLOAT_H): Let configure select a pre-built version from the
        config subdir.
        * build-make (INSTALL_TARGET, ALL): Disable, no longer needed.
        * configure.in: Substitute for objdir.
	* cp/Makefile.in (program_transform_name, objdir): Define.

From-SVN: r19828
1998-05-17 19:24:26 -06:00

36 lines
1.0 KiB
Plaintext

# 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