This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: mno-eabi option on powerpc-elf
- From: Rohit Arul Raj <rohitarulraj at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 10 Oct 2011 13:07:55 +0530
- Subject: Re: mno-eabi option on powerpc-elf
- References: <CAPVMLfWBhQFjmMjo=KJ3zJz5=FMdJ-ZzPjFVpDkGyLQS97-2+A@mail.gmail.com> <CAPVMLfXdPc0-rvKzen79MwZJDEU6SFiz+tofu8o9XfNfko3kfA@mail.gmail.com> <mcry5wt77tn.fsf@coign.corp.google.com>
On Mon, Oct 10, 2011 at 10:37 AM, Ian Lance Taylor <iant@google.com> wrote:
> Rohit Arul Raj <rohitarulraj@gmail.com> writes:
>
>> I am working with powerpc-elf tool chain v4.5.2 (with newlib).
>>
>> I need some clarification regarding the -mno-eabi option. From the GCC
>> docs, this option means that the tool chain does not adhere to EABI.
>>
>> -mno-eabi:
>> ? ? ? ? ?On System V.4 and embedded PowerPC systems do not adhere to
>> the Embedded Applications Binary Interface (eabi) which is a set of
>> modifications to the System V.4 specifications.
>>
>> Does that mean if i use '-mno-eabi', it will adhere to System V.4
>> specs completely like the 'powerpc-linux' tool chain?
>
> This question would be more appropriate for the mailing list
> gcc-help@gcc.gnu.org. ?Please take any followups to gcc-help. ?Thanks.
>
> Yes, using -mno-eabi should give you an ABI identical to standard System
> V.4.
>
> Ian
>
Thanks Ian.
Also it has been mentioned in the gcc/config/rs6000/rs6000.c that "A
happy side-effect is that '-mno-eabi' libraries can be used with
'-meabi' programs". i also see the 'newlib' built with '-mno-eabi'
option.
Is using 'mno-eabi' libs with 'meabi' program conforms to ABI standard?
Thanks,
Rohit