On Thu, 24 Nov 2005, Mark Taylor wrote:
> On Thu, 24 Nov 2005, Peter W. Draper wrote:
>
>> Thanks. One point I should have added to my ramblings is that you do still
>> need Fortran for HDS at present (as there's still some .f files mostly for
>> the CMP interface and other extended features), so that's a good thought,
>> not necessarily one that's possible just yet!
>
> JNIHDS uses only dat_* and hds_* calls - does that help or are you
> still going to need fortran because of the way the HDS package builds?
I'm guessing that I'll still need Fortran to build HDS, but it should be
possible to avoid needing to link the DLL against the Fortran runtime, as
no actual calls to any of the Fortran routines is made and that should cut
down on the number of other packages I need to build. It may also be
possible to tune the HDS build to just compile the C code.
Having said that, last time I built a DLL this I tried to avoid EMS using
MERS (which is Fortran), as EMS is supposed to have an environment-less
(printf) mode, but that didn't work. Since the point was academic I moved
on, so there may be problems I haven't spotted.
Cheers,
Peter.
|