1 |
On 18/05/17 12:08 AM, Marty Plummer wrote: |
2 |
> On Thu, May 18, 2017 at 06:46:24AM +0300, Alon Bar-Lev wrote: |
3 |
>> Hi, |
4 |
>> You can emerge crossdev and then run crossdev -t x86_64-w64-mingw32 or |
5 |
>> crossdev -t i686-w64-mingw32 |
6 |
>> Alon |
7 |
>> |
8 |
> I'm aware of that, using it. Its simply the fact that its fairly broken |
9 |
> for mingw-w64, and requires quite a lot of hackage to get going. |
10 |
> |
11 |
> What I'm suggesting is the creation of a profile that should handle this |
12 |
> sort of thing for you semi-automatically. Something like the |
13 |
> prefix/windows, but meant more for toolchains. it seems that beber's |
14 |
> portage tree at git.meleeweb.net/gentoo/portage.git already has a setup |
15 |
> similar to what I envision already. |
16 |
> |
17 |
|
18 |
There isn't a whole lot that's broken about it actually -- the main |
19 |
issue is that the default 'embedded' profile doesn't allow all of the |
20 |
variable overrides in it that are necessary for the crossdev to work |
21 |
properly. See bug http://bugs.gentoo.org/487310 |
22 |
|
23 |
The crossdev that's created will provide all the necessary profile |
24 |
overrides to allow you to emerge the things you want, and of course |
25 |
compile your own things as well. There's no need for a special prefix |
26 |
(or 'prefix/*' profile) in order to support this, IMO, once the |
27 |
embedded profile permits the overrides necessary to the ARCH, ELIBC, |
28 |
and KERNEL variables that the crossdev tool already sets. |