Marvin Humphrey
2007-01-05 20:01:03 UTC
Greets,
I have an XS distro that has maybe 50 or 60 packages in it. My
strategy has been to put everything in one big XS file, so that only
one shared library gets compiled. However, the XS file is now over
4000 lines, and the compilation time for 10000-line monolithic C file
it generates is becoming an issue.
Is there a way to split up that C file so that fragments can be
conditionally compiled, yet still end up with only one shared library?
Marvin Humphrey
Rectangular Research
http://www.rectangular.com/
I have an XS distro that has maybe 50 or 60 packages in it. My
strategy has been to put everything in one big XS file, so that only
one shared library gets compiled. However, the XS file is now over
4000 lines, and the compilation time for 10000-line monolithic C file
it generates is becoming an issue.
Is there a way to split up that C file so that fragments can be
conditionally compiled, yet still end up with only one shared library?
Marvin Humphrey
Rectangular Research
http://www.rectangular.com/