Re: [PATCH 2/6] Hardcode actual type sizes, add -m32 support

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

 



Al Viro wrote:
> On Thu, Jun 28, 2007 at 01:39:59AM -0400, Pavel Roskin wrote:
>> Use the actual sizeof values at the compile time to describe the default
>> target.  If sparse is compiled on a 64-bit system, it will default to a
>> 64-bit system now.
>>
>> To force 32-bit operation on 64-bit systems, recognize -m32.  Reject
>> machine options other than -m32 and -m64.
> 
> NAK.  That makes life very painful for cross-builds.

And the current approach of hard-coding all the sizes doesn't?

While I agree that I'd like a better approach (specifically, I want any Sparse
build to support any target arch), I don't yet have a solution for that, and
this patch does at least seem like an improvement over the current hardcoded
values.

- Josh Triplett


Attachment: signature.asc
Description: OpenPGP digital signature


[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