Re: multiarch & base dir

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

 



On Sun, Nov 5, 2017 at 10:59 AM, Christopher Li <sparse@xxxxxxxxxxx> wrote:
> On Sun, Nov 5, 2017 at 5:33 PM, Luc Van Oostenryck
> <luc.vanoostenryck@xxxxxxxxx> wrote:
>> Commit 85e2e2a25 "Add support for multiarch system header files"
>> added for GCC's multiarch directory. One of the change was :
>> +       /* add the multiarch include directories, if any */
>> +       if (multiarch_dir && *multiarch_dir) {
>> +               add_pre_buffer("#add_system \"/usr/include/%s\"\n", multiarch_dir);
>> +               add_pre_buffer("#add_system \"/usr/local/include/%s\"\n", multiarch_dir);
>> +       }
>>
>>
>> There, the multiarch dir is appended to /usr/include & /usr/local/include.
>> I'm wondering if using GCC_BASE should be used here instead.
>> Any thoughts?
>
> I think the multiarch is for cross compile.

Not really. It's mainly used to support both 32 & 64-bit binaries on the same
platform (which supports it).

-- Luc
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux