nanogui: Cross compiling Fltk/flnx


Previous by date: 14 May 2006 14:19:28 +0100 Re: Making a grid/table, Michael Drons
Next by date: 14 May 2006 14:19:28 +0100 Re: Cross compiling Fltk/flnx, Pete Klemm
Previous in thread:
Next in thread: 14 May 2006 14:19:28 +0100 Re: Cross compiling Fltk/flnx, Pete Klemm

Subject: Cross compiling Fltk/flnx
From: Aveek Adhya ####@####.####
Date: 14 May 2006 14:19:28 +0100
Message-Id: <44672FC9.4070306@rebaca.com>

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

Previous by date: 14 May 2006 14:19:28 +0100 Re: Making a grid/table, Michael Drons
Next by date: 14 May 2006 14:19:28 +0100 Re: Cross compiling Fltk/flnx, Pete Klemm
Previous in thread:
Next in thread: 14 May 2006 14:19:28 +0100 Re: Cross compiling Fltk/flnx, Pete Klemm


Powered by ezmlm-browse 0.20.