source: rtems/make/custom/Linux-posix.cfg @ 218b070b

4.104.114.84.95
Last change on this file since 218b070b was 218b070b, checked in by Joel Sherrill <joel.sherrill@…>, on 06/21/07 at 18:34:17

2007-06-21 Joel Sherrill <joel.sherrill@…>

  • custom/Linux-posix.cfg: Merge patch from Till Straumann which would work except gcc core dumps with an ICE when may_alias is used in this code. I filed a GCC PR and reduced optimization to -O0 and it does run again.
  • Property mode set to 100644
File size: 743 bytes
Line 
1#
2#  Config file for the Linux 1.x based RTEMS UNIX
3#
4#  $Id$
5#
6
7RTEMS_CPU=unix
8RTEMS_CPU_FAMILY=i386
9RTEMS_CPU_MODEL=i486dx
10RTEMS_UNIX_FLAVOR=linux
11
12# This is the actual bsp directory used during the build process.
13RTEMS_BSP_FAMILY=posix
14
15include $(RTEMS_ROOT)/make/custom/default.cfg
16
17# This contains the compiler options necessary to select the CPU model
18# and (hopefully) optimize for it.
19CPU_CFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE
20
21# optimize flag: typically -O2
22CFLAGS_OPTIMIZE_V = -O0 -g
23
24define make-exe
25        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS)
26        $(NM) -g -n $@ > $(basename $@).num
27        $(SIZE) $@
28endef
29
30# *****************************************************************
31# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.