4.104.114.84.95
Last change
on this file since 541dfb2 was
541dfb2,
checked in by Joel Sherrill <joel.sherrill@…>, on 01/29/97 at 00:22:24
|
Removed definitions which are now in targopts.h. This eliminates the
need for the "sed'ing" of this file. This should be a significant win
when addressing non-unix host and non-gnu toolsets.
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | /* unix.h |
---|
2 | * |
---|
3 | * This include file contains the definitions required by RTEMS |
---|
4 | * which are typical for a modern UNIX computer using GCC. |
---|
5 | * |
---|
6 | * COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994. |
---|
7 | * On-Line Applications Research Corporation (OAR). |
---|
8 | * All rights assigned to U.S. Government, 1994. |
---|
9 | * |
---|
10 | * This material may be reproduced by or for the U.S. Government pursuant |
---|
11 | * to the copyright license under the clause at DFARS 252.227-7013. This |
---|
12 | * notice must appear in all copies of this file and its derivatives. |
---|
13 | * |
---|
14 | * $Id$ |
---|
15 | */ |
---|
16 | |
---|
17 | #ifndef __UNIX_h |
---|
18 | #define __UNIX_h |
---|
19 | |
---|
20 | #ifdef __cplusplus |
---|
21 | extern "C" { |
---|
22 | #endif |
---|
23 | |
---|
24 | /* |
---|
25 | * This file contains the information required to build |
---|
26 | * RTEMS for a particular member of the "unix" |
---|
27 | * family when executing in protected mode. It does |
---|
28 | * this by setting variables to indicate which implementation |
---|
29 | * dependent features are present in a particular member |
---|
30 | * of the family. |
---|
31 | */ |
---|
32 | |
---|
33 | #if defined(hpux) |
---|
34 | |
---|
35 | #define CPU_MODEL_NAME "HP-UX" |
---|
36 | |
---|
37 | #elif defined(solaris) |
---|
38 | |
---|
39 | #define CPU_MODEL_NAME "Solaris" |
---|
40 | |
---|
41 | #elif defined(linux) |
---|
42 | |
---|
43 | #define CPU_MODEL_NAME "Linux" |
---|
44 | |
---|
45 | #else |
---|
46 | |
---|
47 | #error "Unsupported CPU Model" |
---|
48 | |
---|
49 | #endif |
---|
50 | |
---|
51 | #ifdef __cplusplus |
---|
52 | } |
---|
53 | #endif |
---|
54 | |
---|
55 | #endif |
---|
56 | /* end of include file */ |
---|
57 | |
---|
Note: See
TracBrowser
for help on using the repository browser.