new triplet for x32 psABI?

Mike Frysinger vapier@gentoo.org
Tue Oct 4 03:56:00 GMT 2011


On Monday, October 03, 2011 23:26:25 Michael LIAO wrote:
> On Mon, Oct 3, 2011 at 5:46 PM, Mike Frysinger wrote:
> > in terms of asm code, it's still possible to use ifdef's to handle cases
> > where you truly need different code paths.
> 
> Yeah, we could have '#ifdef X32ABI" in assembly file to select
> different path. But, how to generate that macro, says X32ABI, based on
> autoconf to detect/select target (not only target architecture but
> also target ABI.).

you don't need to do it yourself.  please look at the x32 website near the 
bottom.  it shows you how to use ifdef's that gcc itself provides.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20111004/8afef3c6/attachment.sig>


More information about the Gcc mailing list