Dnia 2013-12-29, o godz. 16:52:05 "Anthony G. Basile" <[email protected]> napisał(a):
> On 12/29/2013 04:48 PM, Markos Chandras wrote: > > Yes all 3 ABIs use the same tuple. > > I think people are missing Mike's point from earlier, which is that > tuples label toolchains and a toolchain can support multiple abis. So > for example, what would one do on a system which simultaneously has o32, > n32 and n64? -gnuabi32n32n64 looks pretty crazy. I'd say that we shouldn't limit the concept of 'toolchain' to specifically GNU binutils + GNU gcc. Configure scripts can require much more tools (like assemblers, *-config tools including pkg-config) and I doubt we should really assume they all have some magic support for ABI switching we had taken care of. That said, it would be actually more reasonable to have three separate triples for those ABIs, and link them to the same application if it supports all three ABIs. Of course, we would need to ensure that the application actually respects the triple via which it was called. I think that would be cleaner than explicitly overriding compiler options, and things such as PKG_CONFIG_PATH. But I guess many people will disagree. -- Best regards, Michał Górny
signature.asc
Description: PGP signature
