>
>
> 'libraries': ['-lgmp'] should do it.
>
That seems to work out my updated binding.gyp is as under
{
"targets": [
{
"target_name": "bigint",
"sources": [ "bigint.cc" ],
"libraries": ["-lgmp"]
}
]
}
However when I check the size of the final compiled "bigint.node" file it
is showing much lower size that previous builds
node-waf linux - 204kb with libgmp
node-gyp on win - 274kb with mpir instead of libgmp
node-gyp on linux - 58Kb with libgmp
Is libgmp being dynamically linked to bigint or am I messing up somewhere
else?
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en