Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Crossdev x86_64-w64-mingw32 fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
ilikeglue
n00b
n00b


Joined: 07 Dec 2017
Posts: 4
Location: Far far away

PostPosted: Sat May 12, 2018 9:10 pm    Post subject: Crossdev x86_64-w64-mingw32 fails Reply with quote

Hello everyone!

I was trying to create a 64 bit mingw cross compiler with "crossdev -t x86_64-w64-mingw32 -S". The configure step for cross-x86_64-w64-mingw32-mingw64-runtime fails with

Code:
gcc version 6.4.0 (Gentoo 6.4.0-r1 p1.3)
configure:3390: $? = 0
configure:3379: x86_64-w64-mingw32-gcc -V >&5
x86_64-w64-mingw32-gcc: error: unrecognized command line option '-V'
x86_64-w64-mingw32-gcc: fatal error: no input files
compilation terminated.
configure:3390: $? = 1
configure:3379: x86_64-w64-mingw32-gcc -qversion >&5
x86_64-w64-mingw32-gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
x86_64-w64-mingw32-gcc: fatal error: no input files
compilation terminated.
configure:3390: $? = 1
configure:3410: checking whether the C compiler works
configure:3432: x86_64-w64-mingw32-gcc -pipe -O2 -march=native -Wl,--as-needed  -I/var/tmp/portage/cross-x86_64-w64-mingw32/mingw64-runtime-5.0.3-r2/temp/tmproot/include -Wl,--as-needed conftest.c  >&5
/usr/libexec/gcc/x86_64-w64-mingw32/ld: cannot find crt2.o: No such file or directory
/usr/libexec/gcc/x86_64-w64-mingw32/ld: cannot find -lmingw32
/usr/libexec/gcc/x86_64-w64-mingw32/ld: cannot find -lmoldname
/usr/libexec/gcc/x86_64-w64-mingw32/ld: cannot find -lmingwex
/usr/libexec/gcc/x86_64-w64-mingw32/ld: cannot find -lmsvcrt
/usr/libexec/gcc/x86_64-w64-mingw32/ld: cannot find -ladvapi32
/usr/libexec/gcc/x86_64-w64-mingw32/ld: cannot find -lshell32
/usr/libexec/gcc/x86_64-w64-mingw32/ld: cannot find -luser32
/usr/libexec/gcc/x86_64-w64-mingw32/ld: cannot find -lkernel32
/usr/libexec/gcc/x86_64-w64-mingw32/ld: cannot find -lmingw32
/usr/libexec/gcc/x86_64-w64-mingw32/ld: cannot find -lmoldname
/usr/libexec/gcc/x86_64-w64-mingw32/ld: cannot find -lmingwex
/usr/libexec/gcc/x86_64-w64-mingw32/ld: cannot find -lmsvcrt
collect2: error: ld returned 1 exit status
configure:3436: $? = 1
configure:3474: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "mingw-w64-gendef"
| #define PACKAGE_TARNAME "mingw-w64-gendef"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "mingw-w64-gendef 1.0"
| #define PACKAGE_BUGREPORT "mingw-w64-public@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define PACKAGE "mingw-w64-gendef"
| #define VERSION "1.0"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3479: error: in `/var/tmp/portage/cross-x86_64-w64-mingw32/mingw64-runtime-5.0.3-r2/work/mingw-w64-v5.0.3/mingw-w64-tools/gendef':
configure:3481: error: C compiler cannot create executables
See `config.log' for more details

(whole https://paste.pound-python.org/show/eDnaOGOES6L2sk0GVE3G/ the file is mingw-w64-tools/gendef/config.log )

Why doesn't it find the libraries it is supposed to install? How can I put them there?
_________________
A good night's sleep makes gentoo run sweet.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30914
Location: here

PostPosted: Sun May 13, 2018 7:23 am    Post subject: Reply with quote

You have look the relative wiki page?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
ilikeglue
n00b
n00b


Joined: 07 Dec 2017
Posts: 4
Location: Far far away

PostPosted: Sun May 13, 2018 11:13 am    Post subject: Reply with quote

Yeah I'm doing as it says:

- install crossdev => already installed and used
- add the flags => added them
- crossdev overlay =>already added
- call crossdev with "-t x86_64-w64-mingw32" =>fails with that error

What am I missing?
_________________
A good night's sleep makes gentoo run sweet.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum