nanogui: Cross compiling Fltk/flnx


Previous by date: 14 May 2006 16:07:02 +0100 Cross compiling Fltk/flnx, Aveek Adhya
Next by date: 14 May 2006 16:07:02 +0100 Re: LINK APP INTO SERVER, Greg Haerr
Previous in thread: 14 May 2006 16:07:02 +0100 Cross compiling Fltk/flnx, Aveek Adhya
Next in thread: 14 May 2006 16:07:02 +0100 Re: Cross compiling Fltk/flnx, Aveek Adhya

Subject: Re: [nanogui] Cross compiling Fltk/flnx
From: Pete Klemm ####@####.####
Date: 14 May 2006 16:07:02 +0100
Message-Id: <4467470F.6060900@esysr.com>

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=<PATH>/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: ####@####.####
>
>
>
Specify your cross compiler tools in 'makeinclude'

Pete


-- 
_____________________________________________________________________
    ___________   Pete Klemm           Embedded Systems Research,INC
   / __/ __/ _ \  2604 San Mateo Dr.   Software Consultant
  / _/_\ \/ , _/  Plainfield, IL 60586 ####@####.####
 /___/___/_/|_|   Voice: 815-436-4328  http://www.esysr.com
                  Cell:  815-483-3472  Fax: 815-436-4328



Previous by date: 14 May 2006 16:07:02 +0100 Cross compiling Fltk/flnx, Aveek Adhya
Next by date: 14 May 2006 16:07:02 +0100 Re: LINK APP INTO SERVER, Greg Haerr
Previous in thread: 14 May 2006 16:07:02 +0100 Cross compiling Fltk/flnx, Aveek Adhya
Next in thread: 14 May 2006 16:07:02 +0100 Re: Cross compiling Fltk/flnx, Aveek Adhya


Powered by ezmlm-browse 0.20.