I usually use CFLAGS for path settings, and PFLAGS for #*ifdef* MACROs. Not
sure whether this is the right purpose, but it works for me :D

Regards,
Wasif!

On Wed, Jan 9, 2013 at 12:14 AM, Eric Decker <[email protected]> wrote:

>
> PFLAGS in the context of tinyos is supposed to be Platform FLAGS whatever
> that means.
>
> It was never docuemented and as Andras notes below it doesn't make that
> much difference.
>
> You must be a little careful if PFLAGS and CFLAGS both tweak something.
> CFLAGS over rides (but only because it show up last).
>
>
> On Tue, Jan 8, 2013 at 1:19 AM, András Bíró <[email protected]>wrote:
>
>> Hi,
>>
>> As far as I know, the first characters should define the language:
>> CFLAGS -> c
>> CXXFLAGS -> c++
>> PFLAGS -> pascal
>>
>> But it's not really standard, it depends on the Makefile(s). For example
>> the avr.extra makes no difference:
>>
>> $(NCC) -o $(MAIN_EXE) $(NCC_SAFE_TINYOS_FLAGS) $(OPTFLAGS) $(PFLAGS)
>> $(CFLAGS) $(WIRING_CHECK_FLAGS) $(COMPONENT).nc $(LIBS) $(LDFLAGS)
>>
>> Andris
>>
>>
>> On Mon, Jan 7, 2013 at 5:37 PM, Xiaohui Liu <[email protected]> wrote:
>>
>>> Hi everyone,
>>>
>>> What is the difference between CFLAGS and PFLAGS, if any? Some Makefiles
>>> use CFLAGS while others use PFLAGS for the same purpose, e.g., define
>>> preprocessor symbol. Here is a related 
>>> discussion<http://tinyos-help.10906.n7.nabble.com/Changing-tinyos-2-1-1-tos-chips-cc2420-transmit-td21537.html#a31485775>
>>> .
>>>
>>> Thanks in advance.
>>>
>>> --
>>> -Xiaohui Liu
>>> TelosB
>>> TinyOS 2.1.2
>>> www.cs.wayne.edu/xliu/
>>>
>>> _______________________________________________
>>> Tinyos-help mailing list
>>> [email protected]
>>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>>
>>
>>
>> _______________________________________________
>> Tinyos-help mailing list
>> [email protected]
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>
>
>
>  --
> Eric B. Decker
> Senior (over 50 :-) Researcher
>
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Wasif Masood
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to