Cross compiling should be pretty easy on Debian (ubuntu) as I know that
their build farm is mostly one architecture, but they build for all of them
on the same machines.

Here is a link that might help http://people.debian.org/~debacle/cross/

Robert LeBlanc
Life Sciences & Undergraduate Education Computer Support
Brigham Young University


On Mon, Apr 19, 2010 at 10:55 AM, AJ ONeal <[email protected]> wrote:

> Right now I'm still stuck  trying to figure out how to cross compile from
> ubuntu.
>
> I'm looking for a guide that says something like
>
> Go to xyz.com and download arm-linux-gcc.tgz
> ./configure --with-special-opts=something-special
> make
> make install
>
> Now create a Makefile like this
> GCC=arm-linux-gcc
> LD=something-or-other
> hello: hello.c
>   $(GCC) $(LD) -o hello hello.c
>
>
> But I'm not finding something that simple or concrete. I see a bunch of
> half-baked arm-vender_specific-gcc instructions, but nothing that indicates
> a common best-practice for doing this that works generically across many arm
> systems.
>
>
> AJ ONeal
>
>
>
> On Mon, Apr 19, 2010 at 10:19 AM, Byron Clark 
> <[email protected]>wrote:
>
>> On Mon, Apr 19, 2010 at 09:57:52AM -0600, AJ ONeal wrote:
>> > * I need to compile gcc on ubuntu-desktop.
>> > * I deploy production binaries for hello to arm
>>
>> For this part, you'll want to take a look at something like
>> buildroot[1] if you're planning on running Linux on "arm".
>>
>> [1] http://buildroot.uclibc.org/
>>
>> --
>> Byron Clark
>> --------------------
>> BYU Unix Users Group
>> http://uug.byu.edu/
>>
>> The opinions expressed in this message are the responsibility of their
>> author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG.
>> ___________________________________________________________________
>> List Info (unsubscribe here):
>> http://uug.byu.edu/mailman/listinfo/uug-list
>>
>
>
> --------------------
> BYU Unix Users Group
> http://uug.byu.edu/
>
> The opinions expressed in this message are the responsibility of their
> author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG.
> ___________________________________________________________________
> List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list
>
--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list

Reply via email to