linux-mips
[Top] [All Lists]

Re: [PATCH] fix mips/Makefile to support CROSS_COMPILE from envir onment

To: Tim Bird <tim.bird@am.sony.com>
Subject: Re: [PATCH] fix mips/Makefile to support CROSS_COMPILE from envir onment var
From: Dan Malek <dan@embeddedalley.com>
Date: Mon, 8 May 2006 14:56:56 -0400
Cc: Ralf Baechle <ralf@linux-mips.org>, Tom Rini <trini@kernel.crashing.org>, Thiemo Seufer <ths@networkno.de>, linux-mips@linux-mips.org
In-reply-to: <445F8F73.6030808@am.sony.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20060504230647.GA3465@linux-mips.org> <445F8F73.6030808@am.sony.com>
Sender: linux-mips-bounce@linux-mips.org

On May 8, 2006, at 2:35 PM, Tim Bird wrote:

.....  I understand that having the cross-compiler prefix
specified outside the build system has drawbacks.  When I first got
into embedded Linux (many years ago), I was struck by the inelegance
of this also.


The only drawback is you have to type it in correctly :-)
This "inelegance" of having to set an environment variable has
proven extremely useful in many of my experiences with
clients building real products.  They have installed many different
cross compilers, and often use build procedures to meet
various configuration management requirements.  The
need to explicitly select a complier is absolutely necessary,
you can't have a Makefile guessing.

I personally like setting the environment option, and wish
MIPS would just drop this whole cross compile selection
from the configuration process and work like all of the
other architectures.

Thanks.

        -- Dan


<Prev in Thread] Current Thread [Next in Thread>