-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
57 lines (36 loc) · 1.93 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
SOFA ANSI C Library Formatted for Bazel Integration. All source code is
identical to the original release (dated 2019-07-22) except for the relocation
of header files to the `include/` directory. The library can be built with:
bazel build //:sofa
-----
SOFA-Issue: 2019-07-22
This is the IAU Standards of Fundamental Astronomy (SOFA) Libraries product,
issued on 2019-07-22. The tag `SOFA-Issue' above defines this release and
differentiates it from previous or subsequent releases of the SOFA product.
The 00READ.ME file must remain with this distribution set.
Changes made since the previous release are noted in the file changes.lis.
Notes:
1/ Unix users: The distribution set contains a simple makefile which
can be used to create a single object library for the SOFA Libraries.
To build the object library:
a/ Examine the makefile to be sure definition of the C compiler
is correct for your system. You need an ANSI standard compliant
C compiler. Edit the CCOMPC macro in the makefile as necessary.
b/ To create libsofa.a, execute make:
% make
(where % is the shell prompt).
c/ To remove the object files:
% make clean
To link with the SOFA library, include the library in the compile/link
command in the normal Unix fashion, eg:
% gcc myprog.c -o myprog libsofa.a
You should specify the appropriate C compiler name for `gcc'
in the above command sequence.
2/ Windows/DOS/Mac users: There is no `build' procedure to create a linkable
object library or DLL for the SOFA Libraries. This is due to the many
different C compilers and development environments available on
Windows/DOS and Mac machines.
To use the SOFA routines with your program(s), you must use your preferred
development environment to create the appropriate library or DLL.
IAU SOFA Center
2019/07/22