cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

Q9i5pgEO3Fp2N30
Journeyman III

AMD String Library

 

Hi,

1. how can i use this library? But in general, how should I Link against that library?
: using LDFLAGS="-lsst" ???

2. how can i check if some tool i compiled with this library exactly uses such routines?

3. does it make sens to recompile the gnu c compiler with that library?
- ok i think that could be the answer

  • No need to recompile existing code

 

0 Likes
1 Reply
jrameshbe
Staff

1) To use this library user need not do anything but to just install libsst. when you install libsst, entry will be made in "/etc/ld.so.preload" (if this file does not exist then it will be created). So all the application using the routines exported by this library will link to this library rather then libc.

2) on a system where libsst is installed, you can use the command "ldd" on the executable (the tool you compiled)  to see the libraries it is depending. If libsst.so.1 is listed then your application/tool uses this routines.

3) you need not recompile the existing code, Just install libsst library and all the applications using the routines exported by libsst will use libsst.                                  

 

0 Likes