1 |
On Tuesday, August 04, 2015 5:16:09 PM walt wrote: |
2 |
> On Tue, 04 Aug 2015 18:40:49 +0200 |
3 |
> Cor Legemaat <cor@××××××.net> wrote: |
4 |
> |
5 |
> > Hi: |
6 |
> > |
7 |
> > I want to install a mingw64 compiler with =dev-util/mingw64-runtime- |
8 |
> > 4.0.1, tried with the cmd: |
9 |
> > > crossdev --lenv 'CFLAGS="-march=generic -mtune=generic -O2 -pipe" |
10 |
> > > CXXFLAGS="-march=generic -mtune=generic -O2 -pipe"' --ex-gdb -t |
11 |
> > > x86_64-w64-mingw32 --ov-output /usr/local/portage-crossdev --l |
12 |
> > > 4.0.1 --k 4.0.1 -P '-v' |
13 |
> > but cross-x86_64-w64-mingw32/mingw64-runtime-3.2.0-r1 get installed. |
14 |
> > |
15 |
> > What am I doing wrong? |
16 |
> |
17 |
> I notice you are using a version of Evolution that is not available |
18 |
> yet in gentoo. Are you using gentoo package overlays, or installing |
19 |
> packages from non-gentoo source repositories? (I see /usr/local in |
20 |
> your message :) |
21 |
> |
22 |
> Sometimes these little details can give important clues. |
23 |
|
24 |
It should give you 4.0.1 even without the --l 4.0.1 as that's the latest |
25 |
unstable version. Are you sure that crossdev went all the way through? I |
26 |
usually have to disable the fortran use flag or it fails half way. If you have |
27 |
a previous version maybe the 3.2.0 version is from another build. What's the |
28 |
output of: |
29 |
|
30 |
qlop -gvH mingw64-runtime |
31 |
|
32 |
You could also use crossdev -C to remove it completely and start fresh (after |
33 |
cleaning any leftovers in /etc/portage). |
34 |
|
35 |
What is the contents of /etc/portage/package.keywords/cross-x86_64-w64-mingw32 |
36 |
after the build completes? It should have ~amd64 amd64 for mingw64-runtime. |
37 |
|
38 |
Also check that you don't have any cross-x86_64-w64-mingw32 entries anywhere |
39 |
else on your /etc/portage/package.* files and directories. |
40 |
|
41 |
You can also verify that /usr/local/portage-crossdev/cross-x86_64-mingw32 |
42 |
points to the right directory on /usr/portage just in case. |
43 |
|
44 |
If all that checks then I at a loss. It installed 4.0.1 for me without any |
45 |
arguments but the triplet. You could try: |
46 |
|
47 |
emerge -pv cross-x86_64-w64-mingw32/mingw64-runtime |
48 |
or |
49 |
emerge -pv =cross-x86_64-w64-mingw32/mingw64-runtime-4.0.1 |
50 |
|
51 |
and see if it gives you any clues. |
52 |
|
53 |
-- |
54 |
Fernando Rodriguez |