Hi, > -----Original Message----- > From: JonY via Mingw-w64-public <mingw-w64- > [email protected]> > Sent: Monday, December 2, 2019 10:37 AM > To: [email protected] > Cc: JonY <[email protected]> > Subject: Re: [Mingw-w64-public] gnatdll not building > > On 12/2/19 2:58 PM, Kacvinsky, Tom wrote: > >> > >> Did you already setup your sysroot? > > > > I did not specify any sysroot in the configure command. Do you have a > > recommendation for this? > > > > Here is what I have for the configure line for x86_64 > > > > $ /c/vector_deps/N/x64/mingw-msvc2017-ucrt/bin/gcc -v Using built-in > > specs. > > COLLECT_GCC=C:\vector_deps\N\x64\mingw-msvc2017-ucrt\bin\gcc.exe > > COLLECT_LTO_WRAPPER=c:/vector_deps/n/x64/mingw-msvc2017- > ucrt/bin/../li > > bexec/gcc/x86_64-w64-mingw32/8.3.0/lto-wrapper.exe > > Target: x86_64-w64-mingw32 > > Configured with: ../configure --prefix=/c/code/mingw-native > > --enable-languages=c,c++,ada --disable-multilib > > --with-gmp=/c/code/gcc-depends > > --with-native-system-header-dir=/c/code/mingw-native/x86_64-w64- > mingw3 > > 2/include --disable-bootstrap CXXFLAGS=-O2 Thread model: win32 gcc > > version 8.3.0 (GCC) > > > > And then for i686 > > > > $ mingw-w64-gcc-9.2.0-i686-ucrt/bin/gcc -v Using built-in specs. > > COLLECT_GCC=C:\code\mingw-w64-gcc-9.2.0-i686-ucrt\bin\gcc.exe > > COLLECT_LTO_WRAPPER=c:/code/mingw-w64-gcc-9.2.0-i686- > ucrt/bin/../libex > > ec/gcc/i686-w64-mingw32/9.2.0/lto-wrapper.exe > > Target: i686-w64-mingw32 > > Configured with: ../configure > > --prefix=/c/code/mingw-w64-gcc-9.2.0-i686-ucrt > > --enable-languages=c,c++,ada --disable-multilib > > --with-gmp=/c/code/gcc-depends > > --with-native-system-header-dir=/c/code/mingw-w64-gcc-9.2.0-i686-ucrt/ > > i686-w64-mingw32/include --disable-bootstrap CXXFLAGS=-O2 > > --disable-sjlj-exceptions --with-dwarf2 Thread model: win32 gcc > > version 9.2.0 (GCC) > > > > > > You can try --with-sysroot=<wherever your prefix is>, your libraries should > be in <prefix>/mingw/lib and headers in <prefix>/mingw/include. > > This should be done before gcc is compiled, adjust the steps as required if > bootstrapping.
--wth-sysroot did not help. I had all of this working before with the mingw-w64-x86_64-toolchain based on GCC 7.1 (used to build my custom UCRT + GCC 8.3.0 based toolchain) on x86_64, but now I can't even get gnatdll on x86_64. Part of me suspects there is some subtle issue with building GCC 9.2.0 with 9.2.0. I am doing that because the mingw-w64-x86_64-toolchain I installed today via pacman is GCC 9.2.0 based. Is there anyway of getting an older version of mingw-w64-x86_64-toolchain, based on, say, GCC 7.1.0? I want to try to build a new tool chain using an older tool chain to rule out any subtleties with using a new tool chain to rebuild that toolchain with UCRT support. Of note, I am aware of https://sourceforge.net/projects/mingw-w64/ and the online installer for the mingw tool chains, but unfortunately, these do not have Ada support, which is what I need. _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
