OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [make/] [custom/] [Cygwin-posix.cfg] - Diff between revs 1026 and 1765

Only display areas with differences | Details | Blame | View Log

Rev 1026 Rev 1765
#
#
#  Config file for the Cygwin based RTEMS UNIX
#  Config file for the Cygwin based RTEMS UNIX
#
#
#  Cygwin-posix.cfg,v 1.10 2002/01/04 18:08:57 joel Exp
#  Cygwin-posix.cfg,v 1.10 2002/01/04 18:08:57 joel Exp
#
#
RTEMS_CPU=unix
RTEMS_CPU=unix
RTEMS_CPU_FAMILY=i386
RTEMS_CPU_FAMILY=i386
RTEMS_CPU_MODEL=i486dx
RTEMS_CPU_MODEL=i486dx
RTEMS_UNIX_FLAVOR=cygwin
RTEMS_UNIX_FLAVOR=cygwin
# This is the actual bsp directory used during the build process.
# This is the actual bsp directory used during the build process.
RTEMS_BSP_FAMILY=posix
RTEMS_BSP_FAMILY=posix
include $(RTEMS_ROOT)/make/custom/default.cfg
include $(RTEMS_ROOT)/make/custom/default.cfg
# RTEMS_LIBC_DIR must already be set (by configuration) DOES NOT MATTER
# RTEMS_LIBC_DIR must already be set (by configuration) DOES NOT MATTER
LIBC_DEFINES =-D_POSIX_C_SOURCE
LIBC_DEFINES =-D_POSIX_C_SOURCE
LIBC_DEFINES+=-DRTEMS_UNIXLIB -DRTEMS_UNIX
LIBC_DEFINES+=-DRTEMS_UNIXLIB -DRTEMS_UNIX
# The following define the memory reserved in the executable for the
# The following define the memory reserved in the executable for the
# RTEMS Workspace and the C Program Heap.
# RTEMS Workspace and the C Program Heap.
LIBC_DEFINES += -DWORKSPACE_MB=2
LIBC_DEFINES += -DWORKSPACE_MB=2
LIBC_DEFINES += -DHEAPSPACE_MB=1
LIBC_DEFINES += -DHEAPSPACE_MB=1
DEFINES += -D_BSD_SOURCE
DEFINES += -D_BSD_SOURCE
# optimize flag: typically -0, could use -O4 or -fast
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# -O4 is ok for RTEMS
CFLAGS_OPTIMIZE_V = -O2
CFLAGS_OPTIMIZE_V = -O2
define make-exe
define make-exe
        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS)
        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS)
        $(NM) -ng $@ > $(basename $@).num
        $(NM) -ng $@ > $(basename $@).num
        $(SIZE) $@
        $(SIZE) $@
endef
endef
# *****************************************************************
# *****************************************************************
# Miscellaneous additions go here
# Miscellaneous additions go here
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.