-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathREADME
More file actions
49 lines (30 loc) · 1.12 KB
/
README
File metadata and controls
49 lines (30 loc) · 1.12 KB
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
2024-03-17 BLFoley
**This version of the library is intended for use with newer code and
to compile using modern compilers.**
Certain code written before 2024 might not work with this version.
If you want to use a legacy version that will work with older code or
compilers, see the old-compilers branch or the legacy branch.
This is a library designed to facilitate programming relevant to
molecular data.
Please see http://glycam.org/glylib for detailed documentation.
Briefly:
Requires:
C compiler and/or C++ compiler
make utilities
GNU-compatible compilers are preferred
To build:
cd lib
make # to make for C and C++
- If you only want C:
make justC
- For only C++:
make justCpp
To use:
You need to make your compile aware of the inc and lib directories
and -lglylib or -lglylib++, depending on the compiler. In most cases,
you will also need -lm.
For example:
gcc mycode.c -L/path/to/glylib/lib -I/path/to/glylib/inc -lglylib -Wall -lm
-or-
g++ mycode.c -L/path/to/glylib/lib -I/path/to/glylib/inc -lglylib++ -Wall -lm
For help: glycam@gmail.com