Why does gcc build try to link lpthreads and ldl for x86_64-w64-mingw32 host?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Build x86_64-pc-linux-gnu
Host x86_64-w64-mingw32
Target x86_64-generic-linux-gnu

x86_64-w64-mingw32-g++ -no-pie   -g -O2     -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Wconditionally-supported -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings  -DHAVE_CONFIG_H -no-pie -static-libstdc++ -static-libgcc -Wl,--stack,12582912 gcov.o json.o \
      hash-table.o ggc-none.o libcommon.a ../libcpp/libcpp.a   ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a  -ldl -lpthread -L./../zlib -lz -o gcov.exe
/home/toolchains/x86_64-generic-linux-gnu/x86_64-w64-mingw32/lib/gcc/x86_64-w64-mingw32/15.0.0/../../../../x86_64-w64-mingw32/bin/ld: cannot find -ldl: No such file or directory
/home/toolchains/x86_64-generic-linux-gnu/x86_64-w64-mingw32/lib/gcc/x86_64-w64-mingw32/15.0.0/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lpthread: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:3293: gcov.exe] Error 1
make[2]: *** Waiting for unfinished jobs....




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux