On 12/27/19 9:01 PM, Thomas Dineen wrote:
> Gentle People:
> 
>    I am attempting to build a GCC Cross compiler running on CentOS
> (RedHat) and targeting
> Mingw x86_64-w64-mingw32-gcc. The linker Error occurs on Pass 2 of The
> Gcc Build, noting that
> all of the previous steps were successful. I have included the detailed
> directions that I used for the
> build shown below, with the full detailed Error Listing at the bottom of
> this Email.
> Short Error Listing:
> /home/tdineen/Mingw_X86_12_2019/x86_64-w64-mingw32/bin/ld: cannot find
> dllcrt2.o: No such file or directory
> /home/tdineen/Mingw_X86_12_2019/x86_64-w64-mingw32/bin/ld: cannot find
> crtbegin.o: No such file or directory
> /home/tdineen/Mingw_X86_12_2019/x86_64-w64-mingw32/bin/ld: skipping
> incompatible
> /home/tdineen/Mingw_X86_12_2019/x86_64-w64-mingw32/sysroot/lib/libmingwthrd.a
> when searching for -lmingwthrd
> Questions:
> 1) "cannot find dllcrt2.o" --> Where - What directory(s) is it looking in?
> and what library dose it want Host or new Target?
> 2) "skipping incompatible" -> What library is required here Host or new
> Target?
> Using -libdir I cannot seem to find ANY Libraries it likes!
> 3) " /home/tdineen/Mingw_X86_12_2019/gcc-4.8.0/Build/./gcc/xgcc"
> Is the correct tool being called here?
> 
]
1. Probably sysroot/mingw/lib
2. You ARE doing multilib, it is a warning, not an error. I don't
recommend doing so unless you know what you're doing and is already
familiar with the gcc bootstrap process.
3. Yes.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to