Cross compile helper patch

7 messages, 4 authors, 2002-08-28 · open the first message on its own page

Cross compile helper patch

From: Allen Curtis <hidden>
Date: 2002-08-28 00:02:54

I am not sure where to send these so here it goes.

--
All things come to those who wait. Some of us just have to wait a little
longer...

Re: Cross compile helper patch

From: Dan Malek <hidden>
Date: 2002-08-28 04:05:33

Allen Curtis wrote:
I am not sure where to send these so here it goes.
It only goes in your local version of this file.  Everyone has a different
way they want their cross compilation to work, and those of us that use
native systems don't like this in the Makefile.  This is the historically
consistent response to everyone that has submitted a similar patch over the years.

Thanks.


	-- Dan


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

RE: Cross compile helper patch

From: Allen Curtis <hidden>
Date: 2002-08-28 04:22:46

It only goes in your local version of this file.  Everyone has a different
way they want their cross compilation to work, and those of us that use
native systems don't like this in the Makefile.  This is the historically
consistent response to everyone that has submitted a similar
patch over the years.
A two line change to a make file is not exactly cluttering anything up. If
you are doing native development then you use the distribution as it is
provided. Only if you are doing cross development do you need to create
these files. Just a nice logical in the developers face solution to a
problem that has been solved a 1000 time before.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

Re: Cross compile helper patch

From: Dan Malek <hidden>
Date: 2002-08-28 05:12:09

Allen Curtis wrote:

 > .....Only if you are doing cross development do you need to create
these files. Just a nice logical in the developers face solution to a
problem that has been solved a 1000 time before.
In 1000 different ways.  Like I said, this patch has been submitted by
others in many different forms, and we have politely asked they keep
this local.  I don't do my cross compile Makefile changes like you
do, so your changes aren't useful to me, nor to I expect you to want
to this this they way I do.

Thanks.


	-- Dan


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

RE: Cross compile helper patch

From: Kenneth Johansson <hidden>
Date: 2002-08-28 12:01:09

On Wed, 2002-08-28 at 06:22, Allen Curtis wrote:
quoted
It only goes in your local version of this file.  Everyone has a different
way they want their cross compilation to work, and those of us that use
native systems don't like this in the Makefile.  This is the historically
consistent response to everyone that has submitted a similar
patch over the years.
A two line change to a make file is not exactly cluttering anything up. If
you are doing native development then you use the distribution as it is
provided. Only if you are doing cross development do you need to create
these files. Just a nice logical in the developers face solution to a
problem that has been solved a 1000 time before.
This is what I do when cross compiling

make ARCH=ppc CROSS_COMPILE=powerpc-linux-

Needs no changes to the makefile.

--
Kenneth Johansson
Ericsson AB                       Tel: +46 8 404 71 83
Borgafjordsgatan 9                Fax: +46 8 404 72 72
164 80 Stockholm                  kenneth.johansson@etx.ericsson.se


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

RE: Cross compile helper patch

From: Allen Curtis <hidden>
Date: 2002-08-28 14:33:03

This is what I do when cross compiling

make ARCH=ppc CROSS_COMPILE=powerpc-linux-
Duh, that was an easy solution! Thanks, why didn't I think of that?

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

RE: Cross compile helper patch

From: Jerry Van Baren <hidden>
Date: 2002-08-28 15:08:31

At 07:33 AM 8/28/2002 -0700, Allen Curtis wrote:
quoted
This is what I do when cross compiling

make ARCH=ppc CROSS_COMPILE=powerpc-linux-
Duh, that was an easy solution! Thanks, why didn't I think of that?
...and if you are REALLY lazy (like me) and only use one cross development
toolset, you can define and export CROSS_COMPILE and ARCH (I haven't needed
ARCH) in your .bashrc (or equiv.) and "make" will Do The Right Thing (TM).

gvb


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help