public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] crossdev stores the EXTRA_ECONF options w/o quotes
@ 2012-02-04 23:22 René Berber
  2012-02-05  2:21 ` Mike Frysinger
  0 siblings, 1 reply; 2+ messages in thread
From: René Berber @ 2012-02-04 23:22 UTC (permalink / raw
  To: gentoo-embedded

Hi,

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
EXTRA_ECONF="--enable-targets=x86_64-w64-mingw32,i686-w64-mingw32" \
> --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/gcc
==> /etc/portage/env/cross-x86_64-w64-mingw32/mingw64-runtime <==
SYMLINK_LIB=no
EXTRA_ECONF=--enable-lib64 --enable-lib32

==> /etc/portage/env/cross-x86_64-w64-mingw32/gcc <==
SYMLINK_LIB=no
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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-embedded] crossdev stores the EXTRA_ECONF options w/o quotes
  2012-02-04 23:22 [gentoo-embedded] crossdev stores the EXTRA_ECONF options w/o quotes René Berber
@ 2012-02-05  2:21 ` Mike Frysinger
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger @ 2012-02-05  2:21 UTC (permalink / raw
  To: gentoo-embedded; +Cc: René Berber

[-- Attachment #1: Type: Text/Plain, Size: 133 bytes --]

On Saturday 04 February 2012 18:22:24 René Berber wrote:
> Minor bug in crossdev

bugs should be filed in bugs.gentoo.org
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-02-05  3:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-04 23:22 [gentoo-embedded] crossdev stores the EXTRA_ECONF options w/o quotes René Berber
2012-02-05  2:21 ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox