> -----Original Message-----
> From: JonY via Mingw-w64-public <mingw-w64-
> [email protected]>
> Sent: Monday, December 2, 2019 9:45 AM
> To: [email protected]
> Cc: JonY <[email protected]>
> Subject: Re: [Mingw-w64-public] gnatdll not building
> 
> On 12/2/19 2:25 PM, Kacvinsky, Tom wrote:
> >
> > I looked through my notes and the last time I built the tool chain
> > (that time, for x86_64), I had to manually run "make gnattools" in
> > addition to the "make gnattools-cross".  But this time around "make
> gnattools" fails with a link error.
> > See attached log file.
> >
> > I am using the system tool chain when building gnattools, so I don't
> > understand why the libraries and object files cannot be found.
> 
> 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/../libexec/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-mingw32/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/../libexec/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)


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

Reply via email to