mips-gcc492 for bare metal enviroment

Mori Hiroki yamori813 at yahoo.co.jp
Mon Apr 19 00:30:36 UTC 2021


Hi

I misunderstand gcc target.

The mips terget is big endian. But gcc and binutils as support
little endian by -EL option.

I want make little and big both libgcc.a. How to configure gcc ?

Hiroki Mori



----- Original Message -----
> From: Mori Hiroki <yamori813 at yahoo.co.jp>
> To: "freebsd-mips at freebsd.org" <freebsd-mips at freebsd.org>
> Cc: 
> Date: 2021/4/17, Sat 15:54
> Subject: Re: mips-gcc492 for bare metal enviroment
> 
> Hi
> 
> I solved problem and make review.
> 
> 
> https://reviews.freebsd.org/D29804 
> 
> Now I have only Pentium III 1G machine.
> Post review take so long time.
> 
> 
> Hiroki Mori
> 
> 
> 
> ----- Original Message -----
>>  From: Mori Hiroki <yamori813 at yahoo.co.jp>
>>  To: "freebsd-mips at freebsd.org" <freebsd-mips at freebsd.org>
>>  Cc: 
>>  Date: 2021/4/16, Fri 19:37
>>  Subject: Re: mips-gcc492 for bare metal enviroment
>> 
>>  Hi
>> 
>>  Why FreeBSD has two mips gcc6 pkg ? I think one is gcc4 is better.
>> 
>>  mips-gcc-6.4.0_8               Cross GNU Compiler Collection for mips
>>  mips-gcc6-6.5.0_2              Cross GNU Compiler Collection for mips
>>  mips-gcc9-9.2.0_1              Cross GNU Compiler Collection for mips
>> 
>> 
>>  Hiroki Mori
>> 
>> 
>> 
>>  ----- Original Message -----
>>>   From: Mori Hiroki <yamori813 at yahoo.co.jp>
>>>   To: "freebsd-mips at freebsd.org" 
> <freebsd-mips at freebsd.org>
>>>   Cc: 
>>>   Date: 2021/4/15, Thu 16:45
>>>   Subject: mips-gcc492 for bare metal enviroment
>>> 
>>>   Hi.
>>> 
>>>   I want use gcc 492 for bare metal mips module.
>>>   I try to make ports based on arm-none-eabi-gcc492.
>>> 
>>>   I have two problem.
>>> 
>>>   One is is GCC_TARGET is mips then use mips-ar build
>>>   on libgcc. That is fail. I seem BU_PREFIX is not
>>>   vaild at libgcc build.
>>> 
>>> 
>>>   Second is GCC_TARGET is mips-freebsd configure is 
>>> 
>>>   fail.
>>> 
>>>   If you have advice, please let me know,
>>> 
>>>   Thanks
>>> 
>>>   Hiroki Mori
>>> 
>>>   _______________________________________________
>>>   freebsd-mips at freebsd.org mailing list
>>>   https://lists.freebsd.org/mailman/listinfo/freebsd-mips 
>>>   To unsubscribe, send any mail to 
>>>   "freebsd-mips-unsubscribe at freebsd.org"
>>> 
>> 
>>  _______________________________________________
>>  freebsd-mips at freebsd.org mailing list
>>  https://lists.freebsd.org/mailman/listinfo/freebsd-mips 
>>  To unsubscribe, send any mail to 
>>  "freebsd-mips-unsubscribe at freebsd.org"
>> 
> 
> _______________________________________________
> freebsd-mips at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-mips 
> To unsubscribe, send any mail to 
> "freebsd-mips-unsubscribe at freebsd.org"
> 



More information about the freebsd-mips mailing list