This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Trouble with building multilib GCC (MinGW)


2012/3/12 Ian Lance Taylor <iant@google.com>:
>
> To be honest I don't see that in the pastebin. ÂThe use of -m64 should
> cause the multilib support to kick in, and in particular should cause
> the gcc driver to add /../lib64 to the end of the -L paths. ÂI guess
> that is not happening, but I can't see it from the log.

In the fourth line uccurs linking 64bit libgcc_s_sjlj-1.dll. In this
you can see by searching for 'm64'. Also, in the fourth line you can
see the path used to search for 64bit CRT, and make sure that the path
is used only for 32bit CRT.

>
> It might be helpful to show us the output of each of these commands:
>
> gcc --print-multi-lib
$ i686-w64-mingw32-gcc --print-multi-lib
.;
64;@m64


> gcc --print-multi-directory
$ i686-w64-mingw32-gcc --print-multi-directory
.


> gcc --print-multi-directory -m32
$ i686-w64-mingw32-gcc --print-multi-directory -m32
.


> gcc --print-multi-directory -m64
$ i686-w64-mingw32-gcc --print-multi-directory -m64
64


>
> Ian



-- 
Regards,
 niXman


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]