Hi, I tried to build gccgo(i586 no MMX) with crosstool-ng and it always 
fails( 1.22 release or github master ). Is it possible to share your 
version of crosstool-ng ? Any version of gcc is fine.
On Wednesday, March 11, 2015 at 2:55:14 PM UTC+5:30, [email protected] 
wrote:
>
> Forgot link:  https://github.com/andrewchambers/crosstool-ng/tree/gccgo
>
> On Wednesday, March 11, 2015 at 7:55:07 PM UTC+13, Yongfeng liu wrote:
>>
>> I struggled compile gcc 5.0.0 and hope gccgo will support refection API 
>> on a MIPS CPU. finally the compilation is success and i got gccgo 5.0.0 
>> working.
>> but, the reflection and closure is not working will throw a runtime panic 
>> on when compiling some large libraries. 
>>
>> I know the reason is libffi doesn't supports go on MIPS yet. I checked 
>> the codebase of libffi 
>> <https://github.com/atgreen/libffi/tree/master/src/mips> . It hasn't 
>> update anything for the last year. there is some key function like 
>> "ffi_call_go" "ffi_go_closure" aren't implemented yet.
>>
>> nevertheless, i can use gccgo 5.0.0 compiling some simple go codes on 
>> MIPS now.
>>
>> I just hope someone will implement it at some day, I'm willing to do that 
>> but i don't have much experience, so sad.
>>
>> If anyone interested at the bleeding edge version (5.0.0) of gccgo on 
>> mips, i am willing to provide a precompiled version (in openwrt's ipk 
>> format) so you don't have to spend much time on compiling things. just send 
>> me an email.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to