diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-07-24 20:50:35 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-07-24 20:50:35 +0000 |
commit | 14ee224c001d2afd925f2bfb0fd984f09b08b709 (patch) | |
tree | 7ee417961f4fcdbfecd26a9a67763e698ecd193e /make | |
parent | 2007-07-24 Joel Sherrill <joel.sherrill@OARcorp.com> (diff) | |
download | rtems-14ee224c001d2afd925f2bfb0fd984f09b08b709.tar.bz2 |
2007-07-24 Joel Sherrill <joel.sherrill@OARcorp.com>
* 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.
Diffstat (limited to '')
-rw-r--r-- | make/ChangeLog | 6 | ||||
-rw-r--r-- | make/custom/Linux-posix.cfg | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/make/ChangeLog b/make/ChangeLog index 9ccc9ad8c1..754c0f6288 100644 --- a/make/ChangeLog +++ b/make/ChangeLog @@ -1,5 +1,11 @@ 2007-07-24 Joel Sherrill <joel.sherrill@OARcorp.com> + * 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. + +2007-07-24 Joel Sherrill <joel.sherrill@OARcorp.com> + * custom/Linux-posix.cfg: Linux BSP must be linked with C++ compiler. 2007-07-11 Joel Sherrill <joel.sherrill@OARcorp.com> diff --git a/make/custom/Linux-posix.cfg b/make/custom/Linux-posix.cfg index 4a11024832..7356c3e60a 100644 --- a/make/custom/Linux-posix.cfg +++ b/make/custom/Linux-posix.cfg @@ -22,7 +22,7 @@ CPU_CFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE CFLAGS_OPTIMIZE_V = -O0 -g define make-exe - $(LINK.cc) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS) + $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS) $(NM) -g -n $@ > $(basename $@).num $(SIZE) $@ endef |