nanogui: Compile microwindows for arm


Previous by date: 3 Apr 2006 21:27:18 +0100 Re: Compile microwindows for arm, Steven Scholz
Next by date: 3 Apr 2006 21:27:18 +0100 Re: Compile microwindows for arm, James Steward
Previous in thread: 3 Apr 2006 21:27:18 +0100 Re: Compile microwindows for arm, Steven Scholz
Next in thread: 3 Apr 2006 21:27:18 +0100 Re: Compile microwindows for arm, James Steward

Subject: Re: [nanogui] Compile microwindows for arm
From: tj ####@####.####
Date: 3 Apr 2006 21:27:18 +0100
Message-Id: <4431852D.2090605@comcast.net>

I have it running on arm built on an x86 system.

The BIG thing is to make sure your paths for includes and libs is set up 
correctly and all your support libs, libjpeg, etc, are built for arm.

For the crosstools I use here is my .bash_profile for the arm cross 
tools I am using.

export CROSSTOOLS=/usr/local/crosstool/arm-linux/gcc-3.4.1-glibc-2.3.3
export PATH=:$CROSSTOOLS/bin:$CROSSTOOLS/arm-linux/bin:$PATH:
export CFLAGS=
export LDFLAGS="-L$CROSSTOOLS/arm-linux/lib -L$CROSS/arm-linux/X11R6/lib 
-rdynam

The LDFLAGS is also for using in Makefiles for building arm binaries. 

In nano-X config:
ARCH                     = LINUX-ARM
ARMTOOLSPREFIX           = arm-linux-

The bins for arm linux begin with arm-linux-, example arm-linux-gcc.

Really don't have time to go any deeper, but you should get the gist of 
it from this.

tj


Ajay Jain wrote:

>Hi, 
>
>I want to compile microwindows for linux on arm, using gcc 3.4.1. I looked
>at the website, and I got to know that the target is well supported. However
>I am unable to cross-compile it. The compilation breaks off giving errors.
>Can we cross-compile the current version of microwindows?
>
>Thanks,
>Ajay
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: ####@####.####
>For additional commands, e-mail: ####@####.####
>
>
>  
>


Previous by date: 3 Apr 2006 21:27:18 +0100 Re: Compile microwindows for arm, Steven Scholz
Next by date: 3 Apr 2006 21:27:18 +0100 Re: Compile microwindows for arm, James Steward
Previous in thread: 3 Apr 2006 21:27:18 +0100 Re: Compile microwindows for arm, Steven Scholz
Next in thread: 3 Apr 2006 21:27:18 +0100 Re: Compile microwindows for arm, James Steward


Powered by ezmlm-browse 0.20.