* Using external cross-compiler
@ 2011-09-03 13:26 Mikhail Boiko
2011-09-03 14:01 ` Paul Eggleton
0 siblings, 1 reply; 2+ messages in thread
From: Mikhail Boiko @ 2011-09-03 13:26 UTC (permalink / raw)
To: openembedded-devel
Hi,
I've got some issues with configuring OE to use external cross compiler
(CodeSourcery 2011.03).
II've added this lines to my local.conf file:
TARGET_VENDOR = "-none"
TOOLCHAIN_TYPE = "external"
TOOLCHAIN_BRAND = "csl"
TOOLCHAIN_PATH = "/home/mike/x-tools/cs_2011_03"
TOOLCHAIN_SYSPATH = "${TOOLCHAIN_PATH}/arm-none-linux-gnueabi"
PATH_prepend = "${TOOLCHAIN_PATH}/bin:"
With this config, task "do_configure:" for "libtool-cross" fails. Taking
look at do_configure log i notice that OE run following command for
configuring:
/home/mike/freescale/angstrom-setup-scripts/build/tmp-angstrom_2008_1/work/armv7a-angstrom-linux-gnueabi/libtool-cross-2.2.6b-r28.1/libtool-2.2.6b/configure
--build=x86_64-linux
--host=arm-angstrom-linux-gnueabi
--target=arm-angstrom-linux-gnueabi
--prefix=/home/mike/freescale/angstrom-setup-scripts/build/tmp-angstrom_2008_1/sysroots/x86_64-linux/usr
--exec_prefix=/home/mike/freescale/angstrom-setup-scripts/build/tmp-angstrom_2008_1/sysroots/x86_64-linux/usr
--bindir=/home/mike/freescale/angstrom-setup-scripts/build/tmp-angstrom_2008_1/sysroots/x86_64-linux/usr/bin
--sbindir=/home/mike/freescale/angstrom-setup-scripts/build/tmp-angstrom_2008_1/sysroots/x86_64-linux/usr/sbin
--libexecdir=/home/mike/freescale/angstrom-setup-scripts/build/tmp-angstrom_2008_1/sysroots/x86_64-linux/usr/libexec
--datadir=/home/mike/freescale/angstrom-setup-scripts/build/tmp-angstrom_2008_1/sysroots/x86_64-linux/usr/share
--sysconfdir=/etc
--sharedstatedir=/com
--localstatedir=/var
--libdir=/home/mike/freescale/angstrom-setup-scripts/build/tmp-angstrom_2008_1/sysroots/x86_64-linux/usr/lib
--includedir=/home/mike/freescale/angstrom-setup-scripts/build/tmp-angstrom_2008_1/sysroots/x86_64-linux/usr/include
--oldincludedir=/home/mike/freescale/angstrom-setup-scripts/build/tmp-angstrom_2008_1/sysroots/x86_64-linux/usr/include
--infodir=/home/mike/freescale/angstrom-setup-scripts/build/tmp-angstrom_2008_1/sysroots/x86_64-linux/usr/share/info
--mandir=/home/mike/freescale/angstrom-setup-scripts/build/tmp-angstrom_2008_1/sysroots/x86_64-linux/usr/share/man
--enable-largefile
--disable-nls
--enable-ipv6
As you see, it try to use arm-angstrom-linux-gnueabi when I have
only arm-none-linux-gnueab avaliable.
Please, give some advices to solve this sissue.
Thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Using external cross-compiler
2011-09-03 13:26 Using external cross-compiler Mikhail Boiko
@ 2011-09-03 14:01 ` Paul Eggleton
0 siblings, 0 replies; 2+ messages in thread
From: Paul Eggleton @ 2011-09-03 14:01 UTC (permalink / raw)
To: Mikhail Boiko; +Cc: openembedded-devel
On Saturday 03 September 2011 14:26:14 Mikhail Boiko wrote:
> Hi,
>
> I've got some issues with configuring OE to use external cross compiler
> (CodeSourcery 2011.03).
> II've added this lines to my local.conf file:
> TARGET_VENDOR = "-none"
> TOOLCHAIN_TYPE = "external"
> TOOLCHAIN_BRAND = "csl"
> TOOLCHAIN_PATH = "/home/mike/x-tools/cs_2011_03"
> TOOLCHAIN_SYSPATH = "${TOOLCHAIN_PATH}/arm-none-linux-gnueabi"
> PATH_prepend = "${TOOLCHAIN_PATH}/bin:"
>..
> As you see, it try to use arm-angstrom-linux-gnueabi when I have
> only arm-none-linux-gnueab avaliable.
> Please, give some advices to solve this sissue.
So the distro's TARGET_VENDOR is not being overridden; according to [1] you
need to set TOOLCHAIN_VENDOR rather than TARGET_VENDOR so that this happens.
Cheers,
Paul
[1] http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-
February/030371.html
--
Paul Eggleton
Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-09-03 14:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-03 13:26 Using external cross-compiler Mikhail Boiko
2011-09-03 14:01 ` Paul Eggleton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.