https://sourceware.org/bugzilla/show_bug.cgi?id=5305
Alan Modra changed:
What|Removed |Added
Resolution|--- |OBSOLETE
Status|NEW
--- Additional Comments From dannysmith at users dot sourceforge dot net
2007-11-10 03:34 ---
I believe the problem is that in the old version of ld you are using the *.lib
name was not recognized as a dynamic lib so ld used direct linking to foo.dll in
preference to linking against the
ld does not alias with .lib files. Of course, you can use .a files instead, if
you are able to generate them. Below is a makefile that generates an error. The
makefile requires components of VC Express to generate a .lib, namely lib.exe,
link.exe and mspdb80.dll.
The makefile generates two
Hi Michiel,
ld does not replace alias by symbol when import library has .lib
extension and output is a .dll (-shared). It does if import library has
.a extension, and also if output is a .exe.
Please could you file a bug report on this and include a simple test case to
reproduce the problem
ld does not replace alias by symbol when import library has .lib
extension and output is a .dll (-shared). It does if import library has
.a extension, and also if output is a .exe.
So assume .def file of input dll has line a = b (a is the alias and b is
the symbol in input dll).
output = exe,