changing gmp install name

Jason Moxham J.L.Moxham@maths.soton.ac.uk
Mon, 6 Jan 2003 17:28:24 +0000


On Monday 06 Jan 2003 3:06 pm, Paul Leyland wrote:
> I must be missing something.   Why not just rename the files in the fil=
e
> system and #include or link against the new names?
>

I don't know if that would work , some executibles keep their own name ( =
I=20
think gcc does) , I don't know if gmp does this , anyway its a pain and b=
uggy=20
to do as you suggest , and not what I want. Basically I want to make a=20
different gmp library with different functions , so it needs a different=20
name.=20

> Paul
>
> > -----Original Message-----
> > From: Jason Moxham [mailto:J.L.Moxham@maths.soton.ac.uk]
> > Sent: 06 January 2003 05:07
> > To: gmp-devel@swox.com
> > Subject: changing gmp install name
> >
> >
> >
> > How do you change the installed name of gmp.h and libgmp.a ?
> >
> > I'm playing with some changes to gmp and want to install them
> > on my system ,
> > but also keep the existing gmp
> >
> > for example
> >
> > I want a normal gmp build
> > ./configure ; make ; make install
> > and in the programs that use it I use
> > #include "gmp.h" and -lgmp
> >
> > and I also want a modified gmp build
> > ./configure --program-suffix=3D-test ; make ; make install
> > and in the programs that use it I want
> > #include "gmp-test.h" and -lgmp-test
> >
> > but configure --program-suffix doesn't work , the names stay
> > the same , same
> > happens with --program-transform-name
> >
> > or can I just edit a few files to change the name ?
> >
> > thanks
> > jason
> >
> > _______________________________________________
> > gmp-devel mailing list
> > gmp-devel@swox.com
> > https://gmplib.org/mailman/listinfo/gmp-devel