Hi Rob, ----- Original Message ----- From: "sisyphus" <[email protected]> To: <[email protected]> Sent: Sunday, December 16, 2018 04:38 Subject: Re: [Mingw-w64-public] set default sysroot
> Hi, > > I don't know if you can reset the default without recompiling gcc - I > suspect you can't, but others might know better. > > Closest I can get to satisfying your spec is to create a batch file called > "gcc.bat" that contains the following 2 lines: > > @echo off > C:/_64/gcc-mingw-810/mingw64/bin/gcc.exe > --sysroot=C:/_64/gcc-mingw-810/mingw64 %* > > Then place that file so that it is found in the path *before* gcc.exe. > When I do that, I get: > Thanks for your suggestion. But you know honestly, I consider this a hack. What I have now, without a proper sysroot, I seem to be able to compile code and mingw seem to find appropriate headers. But I have no clue how it is working. Thanks for sharing your thoughts, though. Maarten _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
