Quick Search:

View

Revision:
Expand:  
Changeset: MAIN:gmcgarry:20080220011915

Diff

Diff from 1.3 to:

Annotations

Annotate by Age | Author | Mixed | None
/fisheye/browse/pcc/pcc/os/mirbsd/ccconfig.h

Annotated File View

gmcgarry
1.3
1 /* $Id: ccconfig.h,v 1.3 2008/02/20 01:19:15 gmcgarry Exp $ */
ragge
1.1
2 /*-
3  * Copyright (c) 2007
4  *      Thorsten Glaser <tg@mirbsd.de>
5  *
6  * Provided that these terms and disclaimer and all copyright notices
7  * are retained or reproduced in an accompanying document, permission
8  * is granted to deal in this work without restriction, including un-
9  * limited rights to use, publicly perform, distribute, sell, modify,
10  * merge, give away, or sublicence.
11  *
12  * This work is provided "AS IS" and WITHOUT WARRANTY of any kind, to
13  * the utmost extent permitted by applicable law, neither express nor
14  * implied; without malicious intent or gross negligence. In no event
15  * may a licensor, author or contributor be held liable for indirect,
16  * direct, other damage, loss, or other issues arising in any way out
17  * of dealing in the work, even if advised of the possibility of such
18  * damage or existence of a defect, except proven that it results out
19  * of said person's immediate fault when using the work as intended.
20  */
21
22 /*-
23  * Configuration for pcc on a MirOS BSD (i386 or sparc) target
24  */
25
26 /* notes */
27
28 /*-
29  * On MirBSD, wchar_t is a 16-bit unsigned short UCS-2 value.
30  */
31
32 /* mi part */  
33
34 #define CPPADD          {                       \
35         "-D__MirBSD__",                         \
36         "-D__OpenBSD__",                        \
37         "-D__unix__",                           \
38         "-D__STDC_ISO_10646__=200009L",         \
39         "-D__WCHAR_MAX__=65535U",               \
40         "-D__ELF__",                            \
41         NULL                                    \
42 }
43 #define DYNLINKER       {                       \
44         "-dynamic-linker",                      \
45         "/usr/libexec/ld.so",                   \
46         NULL                                    \
47 }   
48 #define STARTFILES      {                       \
49         "/usr/lib/crti.o",                      \
50         "/usr/lib/crtbegin.o",                  \
51         NULL                                    \
52 }      
53 #define ENDFILES        {                       \
54         "/usr/lib/crtend.o",                    \
55         "/usr/lib/crtn.o",                      \
56         NULL                                    \
57 }      
58 #define CRT0FILE       "/usr/lib/crt0.o"
gmcgarry
1.3
59 #define CRT0FILE_PROFILE "/usr/lib/gcrt0.o"
ragge
1.1
60 #define STABS
61        
62 /* md part */  
63        
ragge
1.2
64 #if defined(mach_i386)
ragge
1.1
65 #define CPPMDADD        {                       \
66         "-D__i386__",                           \
67         "-D__i386",                             \
68         "-Di386",                               \
69         NULL,                                   \
70 }   
71 #elif defined(mach_sparc)
72 #error pcc does not support sparc yet
73 #else  
74 #error this architecture not supported by MirOS BSD
75 #endif     
76
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-10-31 11:46 +0100