This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC Compiler can't seem to find linker


On Mon, Jul 3, 2017 at 11:52 PM,  starz0rdesign wrote:
> Hello.
> I'm having a bit of an issue trying to compile LibArchive 3.3.1 for Windows.
> I have Mingw64 with GCC7.1 installed to prevent the Cygwin installer from
> linking it's DLL.

Maybe you should ask on the Mingw mailing list.

> At the end of the make process I seem to get this error:
> make  all-am
> make[1]: Entering directory '/home/nobodyimportant/libarchive-3.3.1'
>   CCLD

It would be helpful to show the full command line. Add V=1 to the make

make V=1 (other make parameters, if any)

> C:/Program
> Files/mingw-w64/x86_64-7.1.0-posix-seh-rt_v5-rev0/mingw64/bin/../lib
> /gcc/x86_64-w64-mingw32/7.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> cannot
>  find -link

This doesn't mean that the compiler didn't find the linker. This error
message means that the linker (ld.exe) didn't find a library, namely

GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]