Linux Archive

Linux Archive (
-   Gentoo Embedded (
-   -   crossdev stores the EXTRA_ECONF options w/o quotes (

René Berber 02-04-2012 10:22 PM

crossdev stores the EXTRA_ECONF options w/o quotes

Minor bug in crossdev, as the title says its storing the options I
passed without the quotes. That means emerge spills some messages about
'command not found' referring to the second options on those lines.

Here's an example of what I'm doing (mind you it doesn't work for what
its intended -- i.e. the mingw-w64 tools are not quite right, they are
missing the 32 bit libc++ and other details):

$ sudo crossdev -t x86_64-w64-mingw32
> --b 2.22 --g 4.6.2
> --benv
> --genv EXTRA_ECONF="--enable-multilib --enable-targets=all"
> --lenv EXTRA_ECONF="--enable-lib64 --enable-lib32"

That command succeeds.

Later using emerge for my weekly update:

/etc/portage/env/cross-x86_64-w64-mingw32/mingw64-runtime: line 2:
--enable-lib32: command not found
/etc/portage/env/cross-x86_64-w64-mingw32/gcc: line 2:
--enable-targets=all: command not found

And the offending lines:

$ head -n 2 /etc/portage/env/cross-x86_64-w64-mingw32/mingw64-runtime
==> /etc/portage/env/cross-x86_64-w64-mingw32/mingw64-runtime <==
EXTRA_ECONF=--enable-lib64 --enable-lib32

==> /etc/portage/env/cross-x86_64-w64-mingw32/gcc <==
EXTRA_ECONF=--enable-multilib --enable-targets=all

Same thing with /etc/portage/env/cross-x86_64-w64-mingw32/binutils (but
emerge didn't spill anything about it).
René Berber

Mike Frysinger 02-05-2012 01:21 AM

crossdev stores the EXTRA_ECONF options w/o quotes
On Saturday 04 February 2012 18:22:24 René Berber wrote:
> Minor bug in crossdev

bugs should be filed in

All times are GMT. The time now is 07:06 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.