help-make
[Top][All Lists]
Advanced

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

Re: Undefined environment variable and operator ?=


From: zosrothko
Subject: Re: Undefined environment variable and operator ?=
Date: Tue, 18 Apr 2017 11:58:21 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

>>  Ok, but that does not work for 'ranlib' & 'strip' which are also
>> needed for cross compiling
> That's because there is no ranlib or strip available in the default set
> of variables provided by make:
>
>   $ make -pf/dev/null | grep -i ranlib
>   make: *** No targets.  Stop.
>
>   $ make -pf/dev/null | grep -i strip
>   make: *** No targets.  Stop.
>
> You'll have to define them yourself, as in:
>
>   RANLIB := $(CROSS_COMPILE)ranlib
>   STRIP := $(CROSS_COMPILE)strip
>
> or whatever.
Ok understood... but why make does not defined them implicitly like
CXX,CC adn others? Would be consistent then!
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]