<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18999"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=090171721-05042011><FONT color=#0000ff
size=2 face=Arial>There're 2 main parts for cross development, at least if you
want to use Yocto ADT setup, one is the cross toolchain, the other is the
sysroot, which contains target development library and headers. For Yocto
sample settings, we use qemu rootfs to setup the sysroot. For your case
(arm) when you bitbake poky-image-sato-sdk, it'll generate a file called
yocto-image-sato-sdk-qemuarm-1.0.rootfs.tar.bz2, and by using poky-extract-sdk
script to extract that file under a specified directory, e.g.
$HOME/qemu-arm. Then for your case, you need to create the sysroot
directory that contains the target libs and pass that in through --sysroot
option. If you're using our Eclipse IDE plug-in, there's field called
sysroot that you must setup...</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=090171721-05042011><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=090171721-05042011><FONT color=#0000ff
size=2 face=Arial>Thanks,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=090171721-05042011><FONT color=#0000ff
size=2 face=Arial>Jessica</FONT></SPAN></DIV><BR>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> yocto-bounces@yoctoproject.org
[mailto:yocto-bounces@yoctoproject.org] <B>On Behalf Of </B>Murilo
Travaglia<BR><B>Sent:</B> Tuesday, April 05, 2011 2:01 PM<BR><B>To:</B>
yocto@yoctoproject.org<BR><B>Subject:</B> [yocto] Cross Compiled
Project<BR></FONT><BR></DIV>
<DIV></DIV>Hi all,<BR><BR><BR>I'm trying to use my own toolchain to develop and
debug my application. I made some changes in the file
environment-setup-my-toolchain (file used in SDK Mode to configure the
environment) to link the compiler, gdb,etc to my own toolchain. Making a
"Reconfigure Project" or "Build Project" I can see that my own toolchain is
used. =]<BR><BR>The problem is that I couldn't see where I have to make
the modifications to get the specific libraries for the target architecture,
e.g: if I'LL develop an application to ARM architecture, where I have to make
modifications to use the libs (/lib, usr/lib) of the target architecture (ARM).
Is this possible in the Yocto Project?<BR><BR>Thanks in advance!<BR><BR>Best
regards! <BR clear=all><BR>-- <BR>Murilo Marques Travaglia<BR>Phi
Innovations<BR><BR><BR><BR></BODY></HTML>