This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mno-eabi option on powerpc-elf


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]