nanogui: cross compiling microwindows


Previous by date: 3 May 2004 21:41:58 +0100 Re: Nano-X : cannot initialise mouse..., tj
Next by date: 3 May 2004 21:41:58 +0100 Re: Which way to go on?, Da'niel Csabai
Previous in thread: 3 May 2004 21:41:58 +0100 cross compiling microwindows, John Que
Next in thread:

Subject: Re: [nanogui] cross compiling microwindows
From: tj ####@####.####
Date: 3 May 2004 21:41:58 +0100
Message-Id: <4096AE79.2050209@comcast.net>

You must have the compiler tools for the architecture of your target in 
the PATH. If not, then gcc executes your normal linux native gnu 
compiler. Plus, you must have the libs for ARM in your Makefile.

I created a new user for just ARM development and added the following 
.bash_profile

export CROSS=/usr/local/arm/2.95.3/
export PATH=$CROSS/arm-linux/bin:$PATH
export CC=gcc
export CFLAGS=
export LDFLAGS="-L$CROSS/arm-linux/lib -L$CROSS/arm-linux/X11R6/lib 
-rdynamic"

This, of course, presumes you have installed the 2.95.3 version of GNU 
ARM cross development tools.

Now, the nano-X makefiles will use the ARM compiler and libraires rather 
than the "normal" native compiler and libraries.

Check handhelds.org for links to better information about cross compiling.

I hope this gets you started.

tj

John Que wrote:

> Hello,
> what is the correct way to cross compile microwindows to a different 
> arch ?
> I saw in Arch.rules many atchitectures (like 
> LINUX-ARM,LINUX-MIPS,LINUX-POWERPC)
> but I tried to change the ARCH                     = LINUX-NATIVE
> to a different arch and got errors ; I played with it a lot
> and could not succeed.
> does anyone has an experience in this ?
>
> regards
> Q. john
>
> _________________________________________________________________
> MSN 8 with e-mail virus protection service: 2 months FREE* 
> http://join.msn.com/?page=features/virus
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
>
>


Previous by date: 3 May 2004 21:41:58 +0100 Re: Nano-X : cannot initialise mouse..., tj
Next by date: 3 May 2004 21:41:58 +0100 Re: Which way to go on?, Da'niel Csabai
Previous in thread: 3 May 2004 21:41:58 +0100 cross compiling microwindows, John Que
Next in thread:


Powered by ezmlm-browse 0.20.