[Bug ld/5305] ld does not alias with .lib files

2022-08-24 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=5305 Alan Modra changed: What|Removed |Added Resolution|--- |OBSOLETE Status|NEW

[Bug ld/5305] ld does not alias with .lib files

2007-11-09 Thread dannysmith at users dot sourceforge dot net
--- 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

[Bug ld/5305] New: ld does not alias with .lib files

2007-11-09 Thread MichieldeB at aim dot com
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

Re: ld does not alias

2007-11-07 Thread Nick Clifton
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 alias

2007-10-13 Thread Michiel de Bondt
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,