I'm trying to configure and build a c file that links ~ 2GB of space. When I try to build this file using node-gyp, I get the following message:
relocation truncated to fit: R_X86_64_PC32 against `.bss'
In conventional gcc compiling, I could use the -mcmodel=medium option, but I'm not sure how I would pass that through to node-gyp when it finally compiles the file using gcc.
Any ideas?