public inbox for gentoo-mips@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-mips] Re: On MIPS using the same CHOST for all multilib ABIs
  @ 2013-12-29 22:04 99%         ` Michał Górny
  0 siblings, 0 replies; 1+ results
From: Michał Górny @ 2013-12-29 22:04 UTC (permalink / raw
  To: gentoo-mips; +Cc: basile

[-- Attachment #1: Type: text/plain, Size: 1259 bytes --]

Dnia 2013-12-29, o godz. 16:52:05
"Anthony G. Basile" <basile@opensource.dyc.edu> 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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 966 bytes --]

^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2013-12-28 22:58     [gentoo-mips] On MIPS using the same CHOST for all multilib ABIs Michał Górny
2013-12-29 21:40     ` [gentoo-mips] " Joshua Kinard
2013-12-29 21:48       ` Michał Górny
2013-12-29 21:48         ` Markos Chandras
2013-12-29 21:52           ` Anthony G. Basile
2013-12-29 22:04 99%         ` Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox