Hello,

As per the following :LIBRARY: usage example in the nmake overview page,
nmake generate xyz library file with version number libxyz.4.0:
xyz 4.0 :LIBRARY: xyz.c strmatch.c

But namke does not set DT_SONAME to the shared library.
I could not find any useful information form Google search.
Also I could not figure out from the nmake Makerules file.

 19 .ID. = "@(#)$Id: Makerules (AT&T Research) 2012-06-08 $"

2120                         elif T == "shared=*"
2121                                 N := $(T:/shared=//)

2168         if CC.SHARED.NAME && N != "-"
2169                 if N == "-+([0-9])"
2170                         .PACKAGE.soname := $(N)
2171                         N =
2172                 end
2173                 if ! N
2174                         N := $(.DLL.NAME. $(B) $(V))
2175                 elif N == "+([-+.0-9])"
2176                         N := $(.DLL.NAME. $(B) $(N))
2177                 end
2178                 X := $(.DLL.NAME. $(B) $(V):B:C%\..*%%)
2179                 .CC.SHARED.NAME.$(X) := $(CC.SHARED.NAME)$(N)
2180         end

Anyone know how to set DT_SONAME tag?

Thanks
Sang
_______________________________________________
ast-users mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-users

Reply via email to