kdlucas / byte-unixbench

Automatically exported from code.google.com/p/byte-unixbench
GNU General Public License v2.0
1.27k stars 323 forks source link

I wanna use unixbench to test my own libm. #68

Closed timesices closed 2 years ago

timesices commented 4 years ago

How to compile whetstone so it can link to my own libm but not the default one.

kdlucas commented 4 years ago

If you ask on Slack you'll probably get some pointers.

On Sat, Sep 26, 2020, 4:32 AM cliffchain notifications@github.com wrote:

How to compile whetstone so it can link to my own libm but not the default one.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kdlucas/byte-unixbench/issues/68, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4T67I4B7GNHA3OEEZDSS3SHXGMRANCNFSM4R23BCQQ .

timesices commented 4 years ago

Thx, bro. I'll try that.😊

gstrauss commented 2 years ago

If linking dynamically and if your libm provides the same public interfaces, then you can link against the default libm, and then, at runtime (of whetstone), set LD_LIBRARY_PATH in your environment to the path containing your libm.