libgcc2

Eggenmüller Bernd egge-b@gmx.de
Thu May 13 15:46:00 GMT 2010


Ian Lance Taylor schrieb:
> Eggenmüller Bernd <egge-b@gmx.de> writes:
>
>   
>> Ian Lance Taylor schrieb:
>>     
>>> Eggenmüller Bernd <egge-b@gmx.de> writes:
>>>
>>>   
>>>       
>>>> is it possible to translate the libgcc2 when i only have 4 registers
>>>> which are 32 bits long.
>>>> One of the four Registers is defined as Basepointer and another as
>>>> Stackpointer.
>>>> The other two can be used to calculate.
>>>>     
>>>>         
>>> libgcc2 is intended to be machine independent.  If you have a working
>>> compiler, then no translation of libgcc2 should be needed.  Perhaps I
>>> misunderstand your question.
>>>
>>> Ian
>>>   
>>>       
>> I have a working xgcc compiler. And I wanted to translate the libgcc2
>> but it need therefore
>> a datatype with DImode (64 bit for my processor). This DI mode is not
>> implemented and
>> will be emulated with my 32 Bit registers by translation. And now I
>> get an Error messege that
>> I have to less registers. The main thing I want to know is if it is
>> possibble to translate it with the above
>> 4 registers or if I need more to translate the libgcc2.
>>     
>
> Please reply to the mailing list, not just to me.
>
> Translating libgcc2 won't help.  A problem compiling libgcc2 indicates
> a deficiency in your compiler.  gcc does not work very well on
> machines with such a small number of registers.  It is usually
> possible to make it work, but it can be hard.
>
> Ian
>
>   
Is there any implementation with less registers like this.

Egge



More information about the Gcc mailing list