Dear Ian
        
        ya i do agree, libraries n  all compiled properly, no error but
only linker warnings are getting...but still my application codes are
not compiling, same  linking errors are coming..dats the reason m  bit
worried.could you suggest any cross compile toolchain with X11 support??
because toolchain what m using in that no X11 related libraries n
include  files. In the skiff toolchain X11 libraries n include files are
there, but after including those in cross compile environment  EABI
version matching errors are coming.thats true beacuse u know target
fluid built with EABI version 4, but X11 built with a EABI version 0. So
finaly i have concluded that entire problem with my toolchain only.
because of some version problem i coul not able to use skiff
toolchain..so can u suggest any other prebuilt toolchain so that i can
download n proceed for further process. otherwise i vl have to
concentrate on cross compilation of X11 for arm target..
        Regds
        Vinayak< br />


I can't recommend a particular cross-toolchain to use, but there seem to
be a fair number out there now. Google will know... I'm sure something
will suit. What board design are you using? Does the board vendor
recommend a preferred toolchain - or are you building your own boards?

FWIW, what I do is build the cross-tools from source - again, there are
many documents on the web about how to do this, this is not the place
here!

In summary, what you need to do is:

Build a cross-compiler version of binutils, install that in your new
cross-tree.

Build gcc, including g++ etc., against this binutils etc., and install
that in your cross-toolchain tree.

Cross-compile newlib using your newly-built cross-compiler (I use newlib
as my libc, others prefer uClib or dietlibc, any can be made to work)
and install that.

Now you have a working toolchain, that can build basic "command line"
apps for your target. You should probably try something like a simple
"hello world" at this point to verify that the tools work and that the
code you build does run on your target.

With a fairly decent PC, the elapsed time to this point is only going to
be a couple of hours, tops.

Now you need to cross-compile X for your target. You need to decide
which X-server you will use, but Xorg is a reasonable starting place.
There are many docs that will tell you how to build X with a
cross-compiler, but it can be quite involved, so a lot of reading might
be in order! This will take a while...

Once you have X built, install the header files and libs in your
cross-compile tree, and you are ready to build fltk, which really should
pretty much Just Work once you have the rest of the build environment
set up correctly.

And that's it. All the steps are described in great detail in howtos
around the web, and it does pretty much work these days. Ten years ago
this was a lot harder...

Hope you have fun!
-- 
Ian



SELEX Sensors and Airborne Systems Limited
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to