On Mon, 18 Feb 2002, Jeremy Elson wrote:

> Hi,
>
> I've succeded (at last) in building an ARM cross compiler on an x86
> host.  However, since I want to share our locally generated compiler
> among a large number of workstations (none of which have the same OS
> installed, of course), I wanted to statically link the compiler
> itself.  So, I did a make on binutils with LDFLAGS=-all-static, and
> make on gcc with LDFLAGS=-static.
>
> This successfully generated a statically linked cross-compiler, but
> unfortunately it seems now to only be able to generate static target
> (ARM) binaries.
>
> Is there a way to live in the middle -- of having a cross compiler
> that is statically linked on the host, but that can still generate
> dynamic target binaries?

Are you configuring gcc with --enable-shared?

Scott


-- 
Scott Murray
SOMA Networks, Inc.
Toronto, Ontario
e-mail: [EMAIL PROTECTED]


_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
http://www.arm.linux.org.uk/armlinux/mailinglists.php
Please visit the above addresses for information on this list.

Reply via email to