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

Ralf Corsepius ralf.corsepius at rtems.org
Mon Mar 7 18:18:50 UTC 2011


On 03/07/2011 03:04 PM, Peter Dufault wrote:
>
> 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]$

I know ... this stuff is all broken - It's Joel's job to clean this 
stuff up or finally face the truth he deliberately ignores for more than 
a decade: This stuff is unmaintainable and unusable. It should have been 
thrown away long time ago.

Ralf




More information about the users mailing list