View previous topic :: View next topic |
Author |
Message |
kreyren n00b
Joined: 21 Sep 2018 Posts: 40 Location: Brno, Czech republic
|
|
Back to top |
|
|
proteusx Guru
Joined: 21 Jan 2008 Posts: 338
|
Posted: Fri Sep 21, 2018 6:18 am Post subject: |
|
|
See this post.
I know nothing about DXVK but I have a working mingw (32 and 64 bit) built with gcc-4.9.4.
I see no need to upgrade the compiler since it works perfectly well.
Tell me if you need more help.
PS. In addition to the patch you may also need to set: USE="-sanitize -fortran" just for cross-x86_64-w64-mingw32/gcc |
|
Back to top |
|
|
Chiitoo Administrator
Joined: 28 Feb 2010 Posts: 2581 Location: Here and Away Again
|
Posted: Fri Sep 21, 2018 11:04 am Post subject: ><)))°€ |
|
|
While I have had similar issues with MinGW, it was already a while ago since I last tried building it, and I didn't find a fix to my issue(s) back then.
However, do you really /need/ to build DXVK?
If you just want to install it, Winetricks has verbs for just that purpose. :] _________________ Kindest of regardses. |
|
Back to top |
|
|
Dr.Willy Guru
Joined: 15 Jul 2007 Posts: 547 Location: NRW, Germany
|
Posted: Fri Sep 21, 2018 1:31 pm Post subject: Re: ><)))°€ |
|
|
Chiitoo wrote: | However, do you really /need/ to build DXVK? |
Welcome to Gentoo, enjoy your stay. |
|
Back to top |
|
|
Chiitoo Administrator
Joined: 28 Feb 2010 Posts: 2581 Location: Here and Away Again
|
Posted: Fri Sep 21, 2018 1:45 pm Post subject: Re: ><)))°€ |
|
|
Dr.Willy wrote: | Chiitoo wrote: | However, do you really /need/ to build DXVK? |
Welcome to Gentoo, enjoy your stay. :P |
Thanks! It has been a rather enjoyable 8 years so far.
The thing is, that I suspect the user in this case might actually not be aware of the Winetricks option (it happens), so I'm Just making sure. :]
It's just a theory though. A... build theory?
As a side note, I still seem to be unable to build the 64-bit chain (32-bit might be okay). I think last time I got to the stage 2 part as well, but now it fails already at the runtime:
Code: | checking whether the C compiler works... no
configure: error: in `/mnt/rokikaru/portage-stuff/builds/portage/cross-x86_64-w64-mingw32/mingw64-runtime-5.0.4/work/mingw-w64-v5.0.4/mingw-w64-libraries/libmangle':
configure: error: C compiler cannot create executables
See `config.log' for more details
configure: error: ./configure failed for mingw-w64-libraries/libmangle |
Meh. Don't quite have the time right now to look into it deeper myself. _________________ Kindest of regardses. |
|
Back to top |
|
|
kreyren n00b
Joined: 21 Sep 2018 Posts: 40 Location: Brno, Czech republic
|
Posted: Fri Sep 21, 2018 2:34 pm Post subject: |
|
|
Thanks all for info i apreciate it. I will take a look at it deeper tomorrow since i spent 52 hours with it now and im tired >.>
Quote: | PS. In addition to the patch you may also need to set: USE="-sanitize -fortran" just for cross-x86_64-w64-mingw32/gcc |
sanitize, fortran are already excluded from USE flags.
Quote: | While I have had similar issues with MinGW, it was already a while ago since I last tried building it, and I didn't find a fix to my issue(s) back then.
However, do you really /need/ to build DXVK?
If you just want to install it, Winetricks has verbs for just that purpose. :] |
I can't use winetricks since those DLL wasn't built yet.. >.> That is the only method Afaik |
|
Back to top |
|
|
Chiitoo Administrator
Joined: 28 Feb 2010 Posts: 2581 Location: Here and Away Again
|
Posted: Fri Sep 21, 2018 3:32 pm Post subject: |
|
|
kreyren wrote: | I can't use winetricks since those DLL wasn't built yet.. >.> That is the only method Afaik |
Ah, you want changes that are not in a release yet? Makes more sense, then. _________________ Kindest of regardses. |
|
Back to top |
|
|
kreyren n00b
Joined: 21 Sep 2018 Posts: 40 Location: Brno, Czech republic
|
Posted: Sat Sep 22, 2018 12:45 am Post subject: |
|
|
Quote: | Ah, you want changes that are not in a release yet? Makes more sense, then. |
setup_dxvk.verb != included in https://github.com/doitsujin/dxvk. It needs to be built in order to generate a folder with setup_dxvk.verb for me to use winetricks --force setup_dxvk.verb or that is what i understand.
EDIT:
it's located in $DXVK_DIR/utils, but it can't be used with winetricks --force setup_dxvk.verb since folders for x32 and x64 are not generated.
Code: | winetricks --force setup_dxvk.verbUsing winetricks 20180815-next - sha256sum: cff80fa6dbd02b43972d13fc82e4af9bddd968623c0b18620679816968a07f80 with wine-3.16-149-gb1a3b9e5ce (Staging) and WINEARCH=win32
Executing w_do_call setup_dxvk
Executing load_setup_dxvk
/home/kreyren/Downloads/dxvk-master/utils/x32 or /home/kreyren/Downloads/dxvk-master/utils/x64 directory not found. |
EDIT2: i didn't noticed that "release" is clickable on dxvk github.. downloaded it and all neccesary files are present.. >.>
EDIT3: DXVK installed, solved thanks
Last edited by kreyren on Sat Sep 22, 2018 1:22 am; edited 3 times in total |
|
Back to top |
|
|
kreyren n00b
Joined: 21 Sep 2018 Posts: 40 Location: Brno, Czech republic
|
Posted: Sat Sep 22, 2018 12:53 am Post subject: |
|
|
Quote: | See this post.
I know nothing about DXVK but I have a working mingw (32 and 64 bit) built with gcc-4.9.4.
I see no need to upgrade the compiler since it works perfectly well.
Tell me if you need more help.
PS. In addition to the patch you may also need to set: USE="-sanitize -fortran" just for cross-x86_64-w64-mingw32/gcc |
It seems to be non-related to my issue or can you provide more info? i have no experience with mingw.. |
|
Back to top |
|
|
kreyren n00b
Joined: 21 Sep 2018 Posts: 40 Location: Brno, Czech republic
|
Posted: Sat Sep 22, 2018 1:10 am Post subject: |
|
|
Note that i'm using Gentoo hardened. This issue is probably not present on non-hardened. |
|
Back to top |
|
|
proteusx Guru
Joined: 21 Jan 2008 Posts: 338
|
Posted: Sat Sep 22, 2018 2:21 pm Post subject: |
|
|
kreyren wrote: | It seems to be non-related to my issue |
As one of the contributors to the thread said:
Quote: | I cannot compile AVR, MIPS, or MinGW toolchains at all. It seems crossdev is no longer able to deal with path of libraries properly! |
The patch posted there enabled me to build MinGW64 which failed to build stage 2, like in your case.
In any case, it appears the patch is not needed any more.
It is 3 years since the last time I installed a MinGW cross compiler, so I just did a new install on a spare machine.
It installed the toolchain without a problem. Here is the command I used:
Code: | # crossdev -t mingw64 --g 6.4.0-r3 --b 2.31.1-r1 --k 4.12.14 | And the output.
With it I can compile Widows executables without any problems. Here is a simple example to compile. Just type 'make'.
Note: --g specifies the gcc version, --b the binutils version and --k the kernel to use.
I have no later versions of gcc and kernel installed in my machines because I have special requirements which later version do not meet. |
|
Back to top |
|
|
Chiitoo Administrator
Joined: 28 Feb 2010 Posts: 2581 Location: Here and Away Again
|
Posted: Mon Sep 24, 2018 10:55 am Post subject: |
|
|
kreyren wrote: | Quote: | Ah, you want changes that are not in a release yet? Makes more sense, then. |
setup_dxvk.verb != included in https://github.com/doitsujin/dxvk. It needs to be built in order to generate a folder with setup_dxvk.verb for me to use winetricks --force setup_dxvk.verb or that is what i understand.
EDIT:
it's located in $DXVK_DIR/utils, but it can't be used with winetricks --force setup_dxvk.verb since folders for x32 and x64 are not generated.
Code: | winetricks --force setup_dxvk.verbUsing winetricks 20180815-next - sha256sum: cff80fa6dbd02b43972d13fc82e4af9bddd968623c0b18620679816968a07f80 with wine-3.16-149-gb1a3b9e5ce (Staging) and WINEARCH=win32
Executing w_do_call setup_dxvk
Executing load_setup_dxvk
/home/kreyren/Downloads/dxvk-master/utils/x32 or /home/kreyren/Downloads/dxvk-master/utils/x64 directory not found. |
EDIT2: i didn't noticed that "release" is clickable on dxvk github.. downloaded it and all neccesary files are present.. >.>
EDIT3: DXVK installed, solved thanks |
Hm, just to make double sure, I was referring to the verbs that Winetricks itself ships with (so you would just do 'winetricks dxvk' for the latest).
That being said, it seems the latest upstream is dxvk80, while the latest in Winetricks is dxvk72, so disregard this if the issue was all along that you need a newer one than what Winetricks provides. :]
proteusx,
Thanks for testing and posting about your findings with regards to MinGW. I tend to have only the latest GCC (8.2.0-r2 at this time) if it works at least with most things in my 'world', but perhaps there is something making it incompatible with MinGW. Your findings should be useful regardless. _________________ Kindest of regardses. |
|
Back to top |
|
|
|