4.104.114.84.95
Last change
on this file since 14ee224c was
14ee224c,
checked in by Joel Sherrill <joel.sherrill@…>, on 07/24/07 at 20:50:35
|
2007-07-24 Joel Sherrill <joel.sherrill@…>
- custom/Linux-posix.cfg: Make Linux link with just a C main -- avoid
using C++ ctor trick. An RTEMS C++ application running on this BSP
may have initialization order issues to address.
|
-
Property mode set to
100644
|
File size:
743 bytes
|
Rev | Line | |
---|
[bffb938] | 1 | # |
---|
| 2 | # Config file for the Linux 1.x 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=linux |
---|
| 11 | |
---|
| 12 | # This is the actual bsp directory used during the build process. |
---|
| 13 | RTEMS_BSP_FAMILY=posix |
---|
| 14 | |
---|
[2758c9f2] | 15 | include $(RTEMS_ROOT)/make/custom/default.cfg |
---|
[bffb938] | 16 | |
---|
[c51004a] | 17 | # This contains the compiler options necessary to select the CPU model |
---|
| 18 | # and (hopefully) optimize for it. |
---|
[25d2f5d7] | 19 | CPU_CFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE |
---|
[2758c9f2] | 20 | |
---|
[0c642539] | 21 | # optimize flag: typically -O2 |
---|
[218b070b] | 22 | CFLAGS_OPTIMIZE_V = -O0 -g |
---|
[2758c9f2] | 23 | |
---|
| 24 | define make-exe |
---|
[14ee224c] | 25 | $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS) |
---|
[ae51c80] | 26 | $(NM) -g -n $@ > $(basename $@).num |
---|
[2758c9f2] | 27 | $(SIZE) $@ |
---|
| 28 | endef |
---|
| 29 | |
---|
| 30 | # ***************************************************************** |
---|
[bffb938] | 31 | # Miscellaneous additions go here |
---|
Note: See
TracBrowser
for help on using the repository browser.