[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CPP setting in make/compilers/gcc-target-default.cfg has -Wp,$$?



On Mar 7, 2011, at 7:44 , Ralf Corsepius wrote:

> gcc-target-default.cfg is junk. Don't use it.

It's included by leaf.cfg which is included in the demos, unless I'm very confused.

In a network-demo Makefile:
include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
include $(RTEMS_CUSTOM)
include $(PROJECT_ROOT)/make/leaf.cfg

In leaf.cfg:
# Pull in the desired "target" compiler
# Programs built on the host use automake generated rules.
# This will not change $(ARCH) -- binaries will still be place as per target
include ${CONFIG.CC}

Adding an echo to the network-demo Makefile:
[dufault at finny12 rtems_main]$ make echo_config_cc
CONFIG.CC=/opt/rtems-4.11/make/compilers/gcc-target-default.cfg
[dufault at finny12 rtems_main]$ 

Peter
-----------------
Peter Dufault
HD Associates, Inc.      Software and System Engineering