[vsipl++] [patch] SSAR Make targets

Don McCoy don at codesourcery.com
Tue Nov 28 06:25:37 UTC 2006


Jules Bergmann wrote:
>> +
>> +  The makefile assumes the default install location of /usr/local.  
>> If +  Sourcery VSIPL++ is installed in a non-standard location, edit the
>> +  'prefix=...' line in the makefile or pass the correctly value on
>> +  the command line ('make prefix=/path/to/vsipl++').
>
> This is fine for now, but ideally pkg-config lets us not worry about 
> where the library is installed, if people set PKG_CONFIG_PATH properly.
>
> ...
>
If I understand correctly, we intend that leaving 'prefix' blank should 
work normally, but allow it to be overridden if the user so desires. 

Is that correct?  If so, I will adjust.  However, I'm not sure why we 
need to override prefix in the .pc file 
(--defined-variable=prefix=...).  If prefix is not set, this leads to an 
error.

    PKG_CONFIG_PATH=/lib/pkgconfig pkg-config vsipl++-ser-builtin-32
    --define-variable=prefix= --cflags
    --define-variable argument does not have a value for the variable
    make: *** [vars] Error 1


Would it be correct to leave that out since the .pc files already have 
the correct value for prefix?   I am assuming an install from a binary 
package.  In what case would we need to override 'prefix'?

-- 
Don McCoy
don (at) CodeSourcery 
(888) 776-0262 / (650) 331-3385, x712




More information about the vsipl++ mailing list