logo       

Re: CLFS Embedded: The ABI setting: msg#00025

linux.lfs.clfs.devel

Subject: Re: CLFS Embedded: The ABI setting

El Sábado, 9 de Diciembre de 2006 18:21, Jim Gifford escribió:

>
> -mabi is for all MIPS.

> Now any MIPS that supports 64bit supports N32.

I know that in CLFS-1.x for MIPS multilib -mabi=32, -mabi=n32, and -mabi=64
are used to build the diferent library flavours.

What I don't know and isn't clear in the cross-tools/common/abi.xml CLFS
Embedded page is what of them must be used for each MIPS processor type
listed in the table found in cross-tools/mips/variables.xml.

I need be sure that in jhalfs the proper ABI value is selected for the choosen
target-triple for both MIPS and x86 archs.

At this moment we have this:

config ABI
string
depends BOOK_CLFS3
default "-m32" if DATA_32 && ARCH_X86
default "-m64" if DATA_64 && ARCH_X86
default "-mabi=32" if DATA_32 && ARCH_MIPS && PROC_mipsel
default "-mabi=64" if DATA_64 && ARCH_MIPS && PROC_mipsel
default "-mabi=n32" if DATA_32 && ARCH_MIPS && PROC_mips
default "-mabi=n64" if DATA_64 && ARCH_MIPS && PROC_mips

I think that -m64 isn't supported yet by the book and that some of the MIPS
settings are wrong.

> Every other architecture supports the standard -m32 and -m64 including
> x86_64.

CLFS Embedded support at this momment x86_64 or not?

>More infomation on the MIPS ABI's available at
>http://www.linux-mips.org/wiki/WhatsWrongWithO32N32N64

That page says that all that ABIs sucks, but now how or when use it.


--
Manuel Canales Esparcia
Usuario de LFS nº2886: http://www.linuxfromscratch.org
LFS en castellano: http://www.escomposlinux.org/lfs-es http://www.lfs-es.info
TLDP-ES: http://es.tldp.org


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise