Is there a way to link with gmp library? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 2

Is there a way to link with gmp library?

Seems that the gmp.h header is available, but the - lgmp option (or its analogue) is missing during linking. Can it be provided somehow? https://code.sololearn.com/c2UvXs0cLNzp/?ref=app

27th Oct 2020, 5:49 AM
Volodymyr Chelnokov
Volodymyr Chelnokov - avatar
2 Antworten
+ 4
Unfortunately, you are out of luck. Your code runs in a sandbox with only your source code available. The running of it is controlled by a server you have no access to.
28th Oct 2020, 9:02 PM
John Wells
John Wells - avatar
+ 1
Thank you. That's sad - it further limits what you can do with c here.
28th Oct 2020, 9:31 PM
Volodymyr Chelnokov
Volodymyr Chelnokov - avatar