4.104.114.84.95
Last change
on this file since 2ff1d549 was
254b4450,
checked in by Joel Sherrill <joel.sherrill@…>, on 04/01/97 at 23:07:52
|
This set of changes is the build of what was required to convert to
GNU autoconf. This is the first large step in allowing an RTEMS
user to perform a one-tree build (per crossgcc FAQ) including RTEMS
in the build process. With this change RTEMS is configured in
built in the same style as the GNU tools, yet retains the basic
structure of its traditional Makefiles (ala Tony Bennett).
Jiri Gaisler (jgais@…) deserves (and received)
a big thank you for doing this.
There are still issues to be resolved but as of this commit, all target
which can be built on a linux host have been using a modified version
of the source Jiri submitted. This source was merged and most targets
built in the tree before this commit.
There are some issues which remain to be resolved but they are primarily
related to host OS dependencies, script issues, the use of gawk
for hack_specs, and the dependence on gcc snapshots. These will
be resolved.
|
-
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 | #elif defined(linux) |
---|
46 | |
---|
47 | #define CPU_MODEL_NAME "Linux" |
---|
48 | |
---|
49 | #else |
---|
50 | |
---|
51 | #error "Unsupported CPU Model" |
---|
52 | |
---|
53 | #endif |
---|
54 | |
---|
55 | #ifdef __cplusplus |
---|
56 | } |
---|
57 | #endif |
---|
58 | |
---|
59 | #endif |
---|
60 | /* end of include file */ |
---|
61 | |
---|
Note: See
TracBrowser
for help on using the repository browser.