It is possible to generate the libgmp-10.dll file with a different name?

Robert Baron robert.baron at videotron.ca
Sun Oct 25 01:31:29 UTC 2020


I do not know of any configure option, but you can set additional link flags on the make command line to disable versioning as follows.

	make LDFLAGS="-avoid-version"

this will create libgmp.dll (no version number).

-----Original Message-----
From: gmp-discuss <gmp-discuss-bounces at gmplib.org> On Behalf Of Zsolt Kántor
Sent: 24 octobre 2020 05:27
To: Torbjörn Granlund <tg at gmplib.org>
Cc: gmp-discuss at gmplib.org
Subject: Re: It is possible to generate the libgmp-10.dll file with a different name?

Thanks for the suggestion, but you probably are not familiar with Windows dll files.
It is useless to just rename a DLL like any other file. Inside the DLL you also need to change the name.
But you can't just use a Hex editor for that and eventually add extra bytes to the DLL (in case you want a longer name).
That will break the DLL.

So my question is if there is some configuration variable that can be changed after ./cofigure?






On Friday, October 23, 2020, 10:25:34 AM GMT+3, Torbjörn Granlund <tg at gmplib.org> wrote: 





Zsolt Kántor <zsoltkantor at yahoo.co.uk> writes:


  it is possible somehow to compile/link the libgmp-10.dll file with a
  different name?Is there a configure option for that?I would like to
  have only libgmp.dll 


I am sure there is a command in Windows for renaming a file.

-- 
Torbjörn
Please encrypt, key id 0xC8601622
_______________________________________________
gmp-discuss mailing list
gmp-discuss at gmplib.org
https://gmplib.org/mailman/listinfo/gmp-discuss



More information about the gmp-discuss mailing list