kevin_i_orourke has asked for the wisdom of the Perl Monks concerning the following question:
I've recently started work on a project I mentioned in binutils-style module (or: XS interface to BFD), which involves running h2xs on a header files to autogenerate as much as I could (using the -x flag).
When I tried this on bfd.h from the binutils distribution h2xs churns away creating a typemap file, gradually sucking up all the available physical memory (256M), then all the swap (256M) before being killed.
Would this be regarded as normal or does it point to something going horrifically wrong with h2xs? If h2xs just needs a bit more memory I have a spare 6Gb partition which I could temporarily make into swap space.
Does anyone else have experience with using h2xs to create interfaces to GNU libraries? Can you give me any advice? Would I be better off using SWIG?
No-one said it would be easy...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(jcwren) Re: h2xs problems (aka: h2xs ate my memory)
by jcwren (Prior) on Nov 13, 2001 at 20:59 UTC | |
by kevin_i_orourke (Friar) on Nov 13, 2001 at 22:55 UTC |