xiao li - Sun Microsystems - Beijing China wrote:
> 
> 
> Paul Cunningham wrote:
>>
>>>> I just noticed you have ...
>>>>   54 P SUNWgccruntime GCC Runtime libraries
>>>> in your depend file, but in your Makefile.sfw you tell it to build 
>>>> with the Sun compiler - so do you need this gcc runtime pkg?
>>>>       
>>> I'm using $(GCC) and $(GMAKE) for building, and I got this depend by 
>>> using "make check_deps".
>>> So I think it is right.
>>>     
>>
>> so why in Makefile.sfw ...
>>
>>      45             CC=$(CC) \
>>
>> which is the Sun compiler;
>> maybe in there you should explicitly define CC=, on rules 'all:' and 
>> '$(VER)/config.status:' to $(GCC) from Makefile.master.
>>
>> But having said that, I think if you can get it to build with the Sun 
>> compiler you should really be using that.
>>   
> I've set the CC to $(GCC) at the beginning of Makefile.sfw
> 
>   30 include ../Makefile.cmd
>   31 
>   32 CC = $(GCC)
> 
> So all the CC below is referring to $(GCC).

Okay silly me - I must need new glasses.
But it's more common to set it in the rule though after the 'env - '

paul
-- 
----------------------------------------------------------------------
Paul Cunningham
Software Engineer
Tadpole Business Unit

Reply via email to