1# Build libgcc1.a for a cross-compiler. 2# By default this expects the user to provide libgcc1.a, 3# and gives up immediately if the user has not done so. 4LIBGCC1 = $(CROSS_LIBGCC1) 5 6# Dir to search for system headers. Normally /usr/include. 7# Use CROSS_INCLUDE_DIR not TOOL_INCLUDE_DIR for other vendor's headers. 8# SYSTEM_HEADER_DIR = $(tooldir)/sys-include 9# [zooey]: gcc looks for limits.h and float.h which under BeOS live in posix subfolder: 10SYSTEM_HEADER_DIR = $(tooldir)/sys-include/posix 11 12# Don't try to compile the things we can't compile. 13ALL = all.cross 14 15# Don't install assert.h in /usr/local/include. 16assertdir = $(tooldir)/include 17