4.104.114.84.95
Last change
on this file since b2e4f3a8 was
b2e4f3a8,
checked in by Joel Sherrill <joel.sherrill@…>, on 11/10/00 at 14:24:36
|
2000-11-10 Ralf Corsepius <corsepiu@…>
- custom/Cygwin-posix.cfg: Add -USTRICT_ANSI to LIBC_DEFINES.
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | # |
---|
2 | # Config file for the Cygwin based RTEMS UNIX |
---|
3 | # |
---|
4 | # $Id$ |
---|
5 | # |
---|
6 | |
---|
7 | RTEMS_CPU=unix |
---|
8 | RTEMS_CPU_FAMILY=i386 |
---|
9 | RTEMS_CPU_MODEL=i486dx |
---|
10 | RTEMS_UNIX_FLAVOR=cygwin |
---|
11 | |
---|
12 | # This is the actual bsp directory used during the build process. |
---|
13 | RTEMS_BSP_FAMILY=posix |
---|
14 | |
---|
15 | include $(RTEMS_ROOT)/make/custom/default.cfg |
---|
16 | |
---|
17 | # RTEMS_LIBC_DIR must already be set (by configuration) DOES NOT MATTER |
---|
18 | LIBC_DEFINES =-D_POSIX_C_SOURCE -U__STRICT_ANSI__ |
---|
19 | LIBC_DEFINES+=-DRTEMS_UNIXLIB -DRTEMS_UNIX -DMALLOC_PROVIDED |
---|
20 | |
---|
21 | # The following define the memory reserved in the executable for the |
---|
22 | # RTEMS Workspace and the C Program Heap. |
---|
23 | LIBC_DEFINES += -DWORKSPACE_MB=2 |
---|
24 | LIBC_DEFINES += -DHEAPSPACE_MB=1 |
---|
25 | |
---|
26 | DEFINES += -D_BSD_SOURCE |
---|
27 | |
---|
28 | # optimize flag: typically -0, could use -O4 or -fast |
---|
29 | # -O4 is ok for RTEMS |
---|
30 | CFLAGS_OPTIMIZE_V = -O2 |
---|
31 | |
---|
32 | # This section makes the target dependent options file. |
---|
33 | |
---|
34 | # RTEMS_UNIX (unix) |
---|
35 | # Define this to indicate this is an RTEMS UNIX port. |
---|
36 | |
---|
37 | define make-target-options |
---|
38 | echo "#define RTEMS_UNIX 1 " >>$@ |
---|
39 | endef |
---|
40 | |
---|
41 | define make-exe |
---|
42 | $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS) |
---|
43 | $(NM) -ng $@ > $(basename $@).num |
---|
44 | $(SIZE) $@ |
---|
45 | endef |
---|
46 | |
---|
47 | # ***************************************************************** |
---|
48 | # Miscellaneous additions go here |
---|
Note: See
TracBrowser
for help on using the repository browser.