Commit b0bfa186 by Ian Lance Taylor

Use CROSS_LIBGCC1 for a cross-compiler

From-SVN: r5294
parent 4d87de75
...@@ -188,6 +188,10 @@ INSTALL_LIBGCC = install-libgcc ...@@ -188,6 +188,10 @@ INSTALL_LIBGCC = install-libgcc
# with or for libgcc1.a. # with or for libgcc1.a.
LIBGCC1 = libgcc1.a LIBGCC1 = libgcc1.a
# Specify the rule for making libgcc1.a for a cross-compiler.
# The default rule assumes that libgcc1.a is supplied by the user.
CROSS_LIBGCC1 = libgcc1.cross
# Specify the rule for actually making libgcc2.a. # Specify the rule for actually making libgcc2.a.
LIBGCC2 = libgcc2.a LIBGCC2 = libgcc2.a
......
# Expect user to provide libgcc1.a, # Build libgcc1.a for a cross-compiler.
# and give up immediately if the user has not done so. # By default this expects the user to provide libgcc1.a,
LIBGCC1 = libgcc1.cross # and gives up immediately if the user has not done so.
LIBGCC1 = $(CROSS_LIBGCC1)
# Specify tools and options for manipulating libraries for the target machine. # Specify tools and options for manipulating libraries for the target machine.
AR = $(AR_FOR_TARGET) AR = $(AR_FOR_TARGET)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment