]> git.wh0rd.org Git - fontconfig.git/blob - fc-arch/fcarch.tmpl.h
Make most generated-files cross-compiling-safe
[fontconfig.git] / fc-arch / fcarch.tmpl.h
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
8  * documentation, and that the name of the author(s) not be used in
9  * advertising or publicity pertaining to distribution of the software without
10  * specific, written prior permission.  The authors make no
11  * representations about the suitability of this software for any purpose.  It
12  * is provided "as is" without express or implied warranty.
13  *
14  * THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
15  * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
16  * EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
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 @@@
31 @@@ So far the differences boil down to: endianness, 32 vs 64 bit pointers,
32 @@@ and on 32bit ones, whether double is aligned to one word or two words.
33 @@@ Those result in the 6 formats listed below.
34 @@@
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 @@@ |   |    |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
60 le32d4  4321_08_01_04_04_04_10_04_04_08_04_04_0c_04_04_04_10_04_04_02_20_04_20
61 le32d8  4321_08_01_04_04_04_10_04_04_08_04_04_10_04_04_04_10_04_04_02_20_04_20
62 le64    4321_08_01_08_04_08_18_08_08_10_04_08_10_04_08_08_18_08_08_02_20_04_38
63 be32d4  1234_08_01_04_04_04_10_04_04_08_04_04_0c_04_04_04_10_04_04_02_20_04_20
64 be32d8  1234_08_01_04_04_04_10_04_04_08_04_04_10_04_04_04_10_04_04_02_20_04_20
65 be64    1234_08_01_08_04_08_18_08_08_10_04_08_10_04_08_08_18_08_08_02_20_04_38