I`m trying this way (g++-arm-linux-gnueabi).

You are right, now I need few libraries cross compiled ...

What is the general rules to cross compile an autotool project/library (using the g++-arm-linux-gnueabi) ? (ie libxml2)

Thank you


From: Greg Kogut <gkogut@yahoo.com>
To: kris duff <t_dufff@yahoo.ca>; General mailing list for gumstix users. <gumstix-users@lists.sourceforge.net>
Sent: Monday, August 26, 2013 2:35:18 PM
Subject: Re: [Gumstix-users] gumstix yocto crosscompile toolchain ?


It is not difficult to compile and link for the ARM Cortex with gcc.  In Ubuntu the package 'gcc-arm-linux-gnueabi' will get you gcc capable of producing code that runs on gumstix - you just have to select the right options for '-mcpu'  in your Makefile depending on which gumstix you have, etc.

However, beware.  You'll quickly run into problems of having to compile libc and other dependent libraries for even the most trivial C programs, and effectively setting up your own target file system.   Let's not even talk about complex dependencies.    Be careful what you wish for before going down this route.

Another might be to try buildroot, a barebones crosscompiling system:  http://wiki.gumstix.org/index.php?title=Category:How_to_-_Buildroot_overo

And yet another option is to build on the gumstix itself:    http://gumstix.org/compile-code-on-my-gumstix.html

I feel your pain with respect to OE/Yocto/bitake, but I find that once you invest the time to navigate the learning curve it grows on you sort of like a friendly fungus.


From: kris duff <t_dufff@yahoo.ca>
To: General mailing list for gumstix users. <gumstix-users@lists.sourceforge.net>
Sent: Monday, August 26, 2013 10:54 AM
Subject: [Gumstix-users] gumstix yocto crosscompile toolchain ?


My target is overo, I would like to crosscompile my software to the gumstix.  I never been successfull with bitbake so I would like to use gcc to crosscompile my code.

I know it is possible, but I would need help to know where to get the toolchain and what to modify in my makefile to crosscompile ?

Thank you


Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
gumstix-users mailing list