Subject: Re: Building a toolset for ARM/Linux

From: Philip Blundell <[email-masked]>
Date: Mon, 26 Jan 1998 14:32:06 +0000

>Get gcc 2.8.0 and build its libgcc, then slot that into the 2.7.2.3 instead

That _may_ work, but it's not a good idea.  The code in libgcc is quite 
tightly tied to the compiler, and it's not a good idea to mix and match.

The way to get libgcc built by default is to add the following lines to 
config/arm/t-linux if they're not already there:

# Since libgcc1 is an assembler file, we can build it automatically for the
# cross-compiler.
CROSS_LIBGCC1 = libgcc1-asm.a
LIBGCC1 = libgcc1-asm.a

p.