Changeset 0e70f60 in rtems


Ignore:
Timestamp:
Apr 27, 1998, 2:21:55 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
edbb81d0
Parents:
c1dc8228
Message:

Fixes from Ralf Corsepius:

  • Posix BSP configuration: Moved some rules from make/custom/*-posix.cfg files to make/custom/posix.cfg, Removed references to stdc++ from *posix.cfg files (rtems doesn't use/need libstdc++)

NOTE: Building Posix-BSPs should now work again for native compilation with
gcc, i..e. linux using primary compiler and primary libc.
All Posix-BSP configurations that don't use gcc as primary compiler or
don't use the primary libc don't work, e.g. solaris, linux w/ egcs as
secondary compiler won't be built correctly.

Location:
make/custom
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • make/custom/HPUX9-posix.cfg

    rc1dc8228 r0e70f60  
    9191
    9292# Miscellaneous additions go here
    93 # Setting formerly contained in gcc-hpux9.cfg
    94 
    95 # Not applicable - let's override 'em
    96 LINKCMDS=
    97 START_FILE=
    98 START_BASE=
    99 
    100 # Here is the rule to actually build a $(ARCH)/foo.exe
    101 # It also builds $(ARCH)/foo.sr and $(ARCH)/foo.nm
    102 # Usage ref: src/tests/sptest/sp1/Makefile
    103 #
    104 # 'NODE' is set to 1 or 2 for multi cpu tests (ref: mptests/mp01/node1/Makefile)
    105 # If NODE is set as an environment variable, don't trust it, zero it out.
    106 # (NODE turns out to be a very common environment variable)
    107 ifeq (,$(NODE))
    108 NODE=0
    109 else
    110 ifeq "$(origin NODE)" "environment"
    111 NODE=0
    112 endif
    113 endif
    11493
    11594# Workaround for missing ranlib support in RTEMS
  • make/custom/Linux-posix.cfg

    rc1dc8228 r0e70f60  
    4141# No need to set it, gcc knows about them
    4242# LIBCC_INCLUDE=/usr/include/g++
    43 CPLUS_LD_LIBS=-lstdc++
    4443CPLUS_LD_LIBS += $(PROJECT_RELEASE)/lib/librtems++$(LIBSUFFIX_VA)
    4544else
     
    102101# Miscellaneous additions go here
    103102
    104 # Setting formerly contained in gcc-linux1.cfg
    105 
    106 # Not applicable - let's override 'em
    107 LINKCMDS=
    108 START_FILE=
    109 START_BASE=
    110 
    111 # Here is the rule to actually build a $(ARCH)/foo.exe
    112 # It also builds $(ARCH)/foo.sr and $(ARCH)/foo.nm
    113 # Usage ref: src/tests/sptest/sp1/Makefile
    114 #
    115 # 'NODE' is set to 1 or 2 for multi cpu tests (ref: mptests/mp01/node1/Makefile)
    116 # If NODE is set as an environment variable, don't trust it, zero it out.
    117 # (NODE turns out to be a very common environment variable)
    118 ifeq (,$(NODE))
    119 NODE=0
    120 else
    121 ifeq "$(origin NODE)" "environment"
    122 NODE=0
    123 endif
    124 endif
    125 
    126103# Workaround for missing ranlib support in RTEMS
    127104MKLIB=$(AR) s $(@) ; echo library is complete:
  • make/custom/Solaris-posix.cfg

    rc1dc8228 r0e70f60  
    3535# no standard C++ libs provided by default
    3636LIBCC_INCLUDE=$(GNUTOOLS)/include/g++
    37 CPLUS_LD_LIBS=-lstdc++
    3837CPLUS_LD_LIBS=$(PROJECT_RELEASE)/lib/librtems++$(LIBSUFFIX_VA)
    3938else
  • make/custom/posix.cfg

    rc1dc8228 r0e70f60  
    1010include $(RTEMS_ROOT)/make/custom/$(RTEMS_HOST)-posix.cfg
    1111
     12# Setting formerly contained in gcc-<TARGET_ARCH>.cfg
    1213
     14# Not applicable - let's override 'em
     15LINKCMDS=
     16START_FILE=
     17START_BASE=
     18
     19# Here is the rule to actually build a $(ARCH)/foo.exe
     20# It also builds $(ARCH)/foo.sr and $(ARCH)/foo.nm
     21# Usage ref: src/tests/sptest/sp1/Makefile
     22#
     23# 'NODE' is set to 1 or 2 for multi cpu tests (ref: mptests/mp01/node1/Makefile)
     24# If NODE is set as an environment variable, don't trust it, zero it out.
     25# (NODE turns out to be a very common environment variable)
     26ifeq (,$(NODE))
     27NODE=0
     28else
     29ifeq "$(origin NODE)" "environment"
     30NODE=0
     31endif
     32endif
     33
Note: See TracChangeset for help on using the changeset viewer.