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

Re: Determine DEB_HOST_MULTIARCH without requiring dpkg-dev



On 07/25/2012 11:16 AM, Igor Pashev wrote:
> 25.07.2012 12:05, Michael Wild пишет:
>> Hi all
>>
>> How can I reliably (from a user-program) determine the
>> multiarch-triplet/quadlet without depending on dpkg-dev? I found some
>> talk of a lsb_architecture utility, but so far have found no trace of it...
> 
> # gcc -print-multiarch
> x86_64-linux-gnu
> 
> 

That's definitely better, but still not optimal since I don't want to
require gcc either ;-)

Michael


Reply to: