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