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

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



Which BSP in the tree is generating this?

Can you send me your Makefile?

The network-demos and examples use these Makefile
fragments.  I build these for every BSP at least once
a week.

The Makefile fragments do predate autoconf/make and it
would be nice to switch to that for applications built
after installation.  But it hasn't happened.

--joel

On 03/07/2011 12:18 PM, Ralf Corsepius wrote:
> 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
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users


-- 
Joel Sherrill, Ph.D.             Director of Research&  Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985