On Thu, 15 Jun 2006, David Berry wrote:
> Not sure what the correct solution is to this. What about putting the c
> wrapper module into a separate library in SLALIB, and then having a linker
> option to include it? That is `sla_link` expands to -lsla and
> `sla_link -c` expands to -lsla -lsla_c (where the c wrapper module is
> contained in libsla_c). This solves the problem for existing software and
> for fortran users, but is a bit of a burden for C users.
>
I don't like the idea of splitting them at all. The point is to make the
fortran and C versions less of a pain to switch between.
Isn't the real solution to simply remove SLA from AST as an option and for
AST to simply use PAL routines all the time (and mangled function names).
--
Tim Jenness
JAC software
http://www.jach.hawaii.edu/~timj
|