public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] How to use EXTRA_ECONF with crossdev
@ 2011-12-14 17:22 René Berber
  2011-12-14 17:39 ` Joakim Tjernlund
  2011-12-17  3:10 ` [gentoo-embedded] " Peter Volkov
  0 siblings, 2 replies; 6+ messages in thread
From: René Berber @ 2011-12-14 17:22 UTC (permalink / raw
  To: gentoo-embedded

Hi,

I know this works:

EXTRA_ECONF="--enable-targets=x86_64-w64-mingw32,i686-w64-mingw32"
crossdev -t x86_64-w64-mingw32 ...

But is there a way to use it for a specific tool?  I'd like to use it
only for binutils.

BTW the mingw64-runtime available is too old (i.e. version 1.0 snapshot,
when current is version 3.0b from svn, 2.something from releases).  I
created my local ebuild for this.

Also the crossdev ebuild available has the "cxx nocxx" bug, I had to
unmask the 20111118 ebuild.
-- 
René Berber






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

* Re: [gentoo-embedded] How to use EXTRA_ECONF with crossdev
  2011-12-14 17:22 [gentoo-embedded] How to use EXTRA_ECONF with crossdev René Berber
@ 2011-12-14 17:39 ` Joakim Tjernlund
  2011-12-14 17:54   ` [gentoo-embedded] " René Berber
  2011-12-17  3:10 ` [gentoo-embedded] " Peter Volkov
  1 sibling, 1 reply; 6+ messages in thread
From: Joakim Tjernlund @ 2011-12-14 17:39 UTC (permalink / raw
  To: gentoo-embedded

René Berber <r.berber@computer.org> wrote on 2011/12/14 18:22:46:
>
> Hi,
>
> I know this works:
>
> EXTRA_ECONF="--enable-targets=x86_64-w64-mingw32,i686-w64-mingw32"
> crossdev -t x86_64-w64-mingw32 ...
>
> But is there a way to use it for a specific tool?  I'd like to use it
> only for binutils.

crossdev --help
....
--[bgkl]env env          Specify env settings for binutils/gcc/kernel/libc

So perhaps crossdev -benv EXTRA_ECONF="--enable-targets=x86_64-w64-mingw32,i686-w64-mingw32" ...

>
> BTW the mingw64-runtime available is too old (i.e. version 1.0 snapshot,
> when current is version 3.0b from svn, 2.something from releases).  I
> created my local ebuild for this.
>
> Also the crossdev ebuild available has the "cxx nocxx" bug, I had to
> unmask the 20111118 ebuild.

Yeah, time to unmask it I think




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

* [gentoo-embedded] Re: How to use EXTRA_ECONF with crossdev
  2011-12-14 17:39 ` Joakim Tjernlund
@ 2011-12-14 17:54   ` René Berber
  2011-12-14 18:18     ` Joakim Tjernlund
  0 siblings, 1 reply; 6+ messages in thread
From: René Berber @ 2011-12-14 17:54 UTC (permalink / raw
  To: gentoo-embedded

On 12/14/2011 11:39 AM, Joakim Tjernlund wrote:

> So perhaps crossdev -benv EXTRA_ECONF="--enable-targets=x86_64-w64-mingw32,i686-w64-mingw32" ...

Environment vars is not the same as adding parameters to configure, but
I haven't tested this option, maybe I'm wrong.

Thanks for your reply.
-- 
René Berber





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

* Re: [gentoo-embedded] Re: How to use EXTRA_ECONF with crossdev
  2011-12-14 17:54   ` [gentoo-embedded] " René Berber
@ 2011-12-14 18:18     ` Joakim Tjernlund
  2011-12-14 18:23       ` René Berber
  0 siblings, 1 reply; 6+ messages in thread
From: Joakim Tjernlund @ 2011-12-14 18:18 UTC (permalink / raw
  To: gentoo-embedded

René Berber <r.berber@computer.org> wrote on 2011/12/14 18:54:55:
>
> On 12/14/2011 11:39 AM, Joakim Tjernlund wrote:
>
> > So perhaps crossdev -benv EXTRA_ECONF="--enable-targets=x86_64-w64-mingw32,i686-w64-mingw32" ...
>
> Environment vars is not the same as adding parameters to configure, but
> I haven't tested this option, maybe I'm wrong.

Sure it is, it is the only way to pass configure params I know.
I have used --genv EXTRA_ECONF='"--disable-secureplt --with-cpu=e300c2 --without-long-double-128 --with-dwarf2 --without-fp --with-fp=soft"'
to pass configure options to gcc only

 Jocke




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

* Re: [gentoo-embedded] Re: How to use EXTRA_ECONF with crossdev
  2011-12-14 18:18     ` Joakim Tjernlund
@ 2011-12-14 18:23       ` René Berber
  0 siblings, 0 replies; 6+ messages in thread
From: René Berber @ 2011-12-14 18:23 UTC (permalink / raw
  To: gentoo-embedded

On 12/14/2011 12:18 PM, Joakim Tjernlund wrote:

> René Berber <r.berber@computer.org> wrote on 2011/12/14 18:54:55:
>>
>> On 12/14/2011 11:39 AM, Joakim Tjernlund wrote:
>>
>>> So perhaps crossdev -benv EXTRA_ECONF="--enable-targets=x86_64-w64-mingw32,i686-w64-mingw32" ...
>>
>> Environment vars is not the same as adding parameters to configure, but
>> I haven't tested this option, maybe I'm wrong.
> 
> Sure it is, it is the only way to pass configure params I know.
> I have used --genv EXTRA_ECONF='"--disable-secureplt --with-cpu=e300c2 --without-long-double-128 --with-dwarf2 --without-fp --with-fp=soft"'
> to pass configure options to gcc only

You are right!

Thanks.
-- 
René Berber




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

* Re: [gentoo-embedded] How to use EXTRA_ECONF with crossdev
  2011-12-14 17:22 [gentoo-embedded] How to use EXTRA_ECONF with crossdev René Berber
  2011-12-14 17:39 ` Joakim Tjernlund
@ 2011-12-17  3:10 ` Peter Volkov
  1 sibling, 0 replies; 6+ messages in thread
From: Peter Volkov @ 2011-12-17  3:10 UTC (permalink / raw
  To: gentoo-embedded

В Срд, 14/12/2011 в 11:22 -0600, René Berber пишет:
> EXTRA_ECONF="--enable-targets=x86_64-w64-mingw32,i686-w64-mingw32"
> crossdev -t x86_64-w64-mingw32 ...
> 
> But is there a way to use it for a specific tool?  I'd like to use it
> only for binutils.

Hi. Currently I have no idea how to make this work with crossdev, but
take a look at portage manual page (man portage) on package.env file
description.

--
Peter.




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

end of thread, other threads:[~2011-12-17  4:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-14 17:22 [gentoo-embedded] How to use EXTRA_ECONF with crossdev René Berber
2011-12-14 17:39 ` Joakim Tjernlund
2011-12-14 17:54   ` [gentoo-embedded] " René Berber
2011-12-14 18:18     ` Joakim Tjernlund
2011-12-14 18:23       ` René Berber
2011-12-17  3:10 ` [gentoo-embedded] " Peter Volkov

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