Web lists-archives.com

Re: [ANNOUNCEMENT] [Updated] mingw64-{i686,x86_64} binutils, gcc (Test)




On 09/25/2017 01:53 AM, Steven Penny wrote:
> On Sun, 24 Sep 2017 00:48:20, JonY wrote:
>> I don't really work with cmake, but what it looks like, but it probably
>> makes gcc look in the mingw include dir first and then gcc's, breaking
>> gcc's headers.
>>
>> Unfortunately, I don't have any good ideas besides hacking cmake to
>> remove the -isystem calls, or contacting gcc-help directly.
> 
> Here is another problem:
> 
> $ cat z.cpp
> #include <iostream>
> main() {
>  std::cout << "cout test\n";
> }
> 
> $ x86_64-w64-mingw32-g++ -static -o z z.cpp
> 
> $ ./z
> Segmentation fault

You can actually use Cygwin gdb to debug and see what went wrong,
assuming the debug symbols are around.

Sorry if I'm not much help, kind of busy these days.

Attachment: signature.asc
Description: OpenPGP digital signature