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

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

 



Josh Triplett wrote:
However, in the meantime, GCC doesn't seem to have any such thing.  How do we
want to implement it in Sparse?  I don't think we have enough information on
the GCC command line.  I suppose we could allow specifying an architecture
explicitly; for cgcc, we could also allow specifying the compiler name for
cross-compilation and then deriving the architecture name from the compiler
name if not explicitly specified.

Judging from existing software, "--target foo" to set the target arch should be familiar to many. If not specified, detect the current arch at runtime, and use the results of the detection as the target arch.

	Jeff



-
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