]> git.wh0rd.org - fontconfig.git/blame - fc-arch/fcarch.tmpl.h
Make most generated-files cross-compiling-safe
[fontconfig.git] / fc-arch / fcarch.tmpl.h
CommitLineData
2b629781
KP
1/*
2 * Copyright © 2006 Keith Packard
3 *
4 * Permission to use, copy, modify, distribute, and sell this software and its
5 * documentation for any purpose is hereby granted without fee, provided that
6 * the above copyright notice appear in all copies and that both that
7 * copyright notice and this permission notice appear in supporting
5aaf466d 8 * documentation, and that the name of the author(s) not be used in
2b629781 9 * advertising or publicity pertaining to distribution of the software without
5aaf466d 10 * specific, written prior permission. The authors make no
2b629781
KP
11 * representations about the suitability of this software for any purpose. It
12 * is provided "as is" without express or implied warranty.
13 *
3074a73b 14 * THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
2b629781 15 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
3074a73b 16 * EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
2b629781
KP
17 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
18 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
19 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
20 * PERFORMANCE OF THIS SOFTWARE.
21 */
22
23@@@
24@@@ Each unique machine architecture needs an entry in this file
25@@@ If fc-arch runs and doesn't find a matching entry, it will print
26@@@ out the archtecture signature in the error message. Take that
27@@@ signature and place it in this file along with a suitable architecture
28@@@ name. Architecture names are used to construct file names, so
29@@@ use something reasonable and don't include any spaces
30@@@
1845f310 31@@@ So far the differences boil down to: endianness, 32 vs 64 bit pointers,
2a6b235f 32@@@ and on 32bit ones, whether double is aligned to one word or two words.
1845f310 33@@@ Those result in the 6 formats listed below.
d5ebf48e 34@@@
1845f310
BE
35@@@ ,name (endianness,pointer-size,double-alignment)
36@@@ | ,endian
37@@@ | | ,FcAlign
38@@@ | | | ,char
39@@@ | | | | ,char*
40@@@ | | | | | ,int
41@@@ | | | | | | ,intptr_t
42@@@ | | | | | | | ,Pattern
43@@@ | | | | | | | | ,EltPtr
44@@@ | | | | | | | | | ,Elt *
45@@@ | | | | | | | | | | ,Elt
46@@@ | | | | | | | | | | | ,ObjPtr
47@@@ | | | | | | | | | | | | ,ValueListPtr
48@@@ | | | | | | | | | | | | | ,Value
49@@@ | | | | | | | | | | | | | | ,ValueBinding
50@@@ | | | | | | | | | | | | | | | ,ValueList *
51@@@ | | | | | | | | | | | | | | | | ,StrSet *
52@@@ | | | | | | | | | | | | | | | | | ,CharSet
53@@@ | | | | | | | | | | | | | | | | | | ,CharLeaf **
54@@@ | | | | | | | | | | | | | | | | | | | ,Char16 *
55@@@ | | | | | | | | | | | | | | | | | | | | ,Char16
56@@@ | | | | | | | | | | | | | | | | | | | | | ,CharLeaf
57@@@ | | | | | | | | | | | | | | | | | | | | | | ,Char32
58@@@ | | | | | | | | | | | | | | | | | | | | | | | ,Cache
59@@@ | | | | | | | | | | | | | | | | | | | | | | | |
60le32d4 4321_08_01_04_04_04_10_04_04_08_04_04_0c_04_04_04_10_04_04_02_20_04_20
61le32d8 4321_08_01_04_04_04_10_04_04_08_04_04_10_04_04_04_10_04_04_02_20_04_20
62le64 4321_08_01_08_04_08_18_08_08_10_04_08_10_04_08_08_18_08_08_02_20_04_38
63be32d4 1234_08_01_04_04_04_10_04_04_08_04_04_0c_04_04_04_10_04_04_02_20_04_20
64be32d8 1234_08_01_04_04_04_10_04_04_08_04_04_10_04_04_04_10_04_04_02_20_04_20
65be64 1234_08_01_08_04_08_18_08_08_10_04_08_10_04_08_08_18_08_08_02_20_04_38