nanogui: Cross compiling Fltk/flnx


Previous by date: 15 May 2006 16:27:56 +0100 Re: LINK APP INTO SERVER, Robbie
Next by date: 15 May 2006 16:27:56 +0100 Re: Cross compiling Fltk/flnx, Aveek Adhya
Previous in thread: 15 May 2006 16:27:56 +0100 Re: Cross compiling Fltk/flnx, Pete Klemm
Next in thread: 15 May 2006 16:27:56 +0100 Re: Cross compiling Fltk/flnx, Aveek Adhya

Subject: Re: [nanogui] Cross compiling Fltk/flnx
From: Aveek Adhya ####@####.####
Date: 15 May 2006 16:27:56 +0100
Message-Id: <44689F46.7030105@rebaca.com>

Thanx Grahams. I will wait for the details.
Best Regards,
Aveek

Graham Henderson wrote:

> Adhya:
>
>
> I have just done this for the Freescale iMXL Arm9.  I will send 
> details tomorrow when I get back to the office.
>
> Graham...
> */Aveek Adhya ####@####.#### wrote:
>
>     Hi all,
>     I want to cross-compile Fltk/flnx for arm target platform and the
>     steps
>     I followed are like this :
>     i> I downloaded the source from
>     ftp://ftp.microwindows.org/pub/microwindows/flnx/flnx-0.18-tar.gz.
>     ii> I installed the Microwindows for Arm target board in my PC and
>     all
>     the example programs work fine in the target board.
>     iii> After extracting the flnx-0.18-tar.gz I followed the
>     instructions
>     as specified in the 'INSTALL' file. These are as below :
>
>     1> To run the configure script I tried this option :
>     ./configure --with-microwin=/microwindows/src
>     --libdir=/tools/arm/lib --includedir=/tools/arm/include
>     --prefix=/tools/arm/flnklibs
>
>     II> I exported the compiler variables :
>     export AR=/tools/arm/bin/arm-elf-ar
>     export AS=/tools/arm/bin/arm-elf-as
>     export CC=/tools/arm/bin/arm-elf-gcc
>     export CXX=/tools/arm/bin/arm-elf-c++
>     export GXX=/tools/arm/bin/arm-elf-g++
>     export LD=/tools/arm/bin/arm-elf-ld
>     export NM=/tools/arm/bin/arm-elf-nm
>     export RANLIB=/tools/arm/bin/arm-elf-ranlib
>     export STRIP=/tools/arm/bin/arm-elf-strip
>
>     III> make
>
>     But in spite of setting all these, all the files are compiled with
>     normal gcc or g++ compiler, not with the cross-compiler
>     (arm-elf-gcc/arm-elf-g++) as it is supposed to be.
>     In the configure script there is a variable called
>     'cross_compiling' and
>     by default it is set as 'cross_compiling=no'. I tried the same after
>     setting it 'yes' , but this couldn't solve my problem anyway.
>
>     Can anybody tell how to cross-compile 'flnx' for Arm target
>     platform ?
>     Any kind of suggestions are welcome.
>     cheers,
>     Aveek
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: ####@####.####
>     For additional commands, e-mail: ####@####.####
>
>
>
>
> Graham W. Henderson
> 241 Sauk Drive
> Batavia, IL 60510-8660
>
> 630 406 1724 (home)
> 630 862 6474 (cell)
> 801 406 6008 (fax )
>
> ------------------------------------------------------------------------
> Yahoo! Messenger with Voice. Make PC-to-Phone Calls 
> <http://us.rd.yahoo.com/mail_us/taglines/postman1/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com> 
> to the US (and 30+ countries) for 2ยข/min or less. 



Previous by date: 15 May 2006 16:27:56 +0100 Re: LINK APP INTO SERVER, Robbie
Next by date: 15 May 2006 16:27:56 +0100 Re: Cross compiling Fltk/flnx, Aveek Adhya
Previous in thread: 15 May 2006 16:27:56 +0100 Re: Cross compiling Fltk/flnx, Pete Klemm
Next in thread: 15 May 2006 16:27:56 +0100 Re: Cross compiling Fltk/flnx, Aveek Adhya


Powered by ezmlm-browse 0.20.