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

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



On 03/07/2011 01:30 PM, Peter Dufault wrote:
> On Mar 7, 2011, at 1:25 , Joel Sherrill wrote:
>
>> Which BSP in the tree is generating this?
> This is independent of BSP, it's in make/compilers/gcc-target-default.cfg.  The CPP define has "-WP,$$" in it.
So you were using  CPP?  I don't see how it could have been tripped
otherwise.  This line has been the same since 4.6.
>> Can you send me your Makefile?
> The RTEMS Makefiles work by themselves.  I was trying to use the RTEMS Make snippets inside my own make system, in particular, I was trying to use autoconf with RTEMS.
>
> I usually don't use the RTEMS make stuff for my own applications, but that involves updating things for each BSP.  In updating to 4.11 I wanted to see how far I could get using what came with RTEMS.
>
For many things, I only use them to extract information
and then supply that to another build system.  But that
technique isn't needed as much anymore because Ralf added
pkgconfig support.

One issue is what to do to the ELF before downloading.
The conversion from elf/exe -> Ralf probably should be
in a shell script somehow.
>> 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
> I use autoconf for RTEMS, I just don't use the RTEMS makefiles.  I'll feel free to compatibly change them for my own needs and submit changes in a bug report.
>
> Peter
> -----------------
> Peter Dufault
> HD Associates, Inc.      Software and System Engineering
>


-- 
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