rinoc DD-WRT Novice
Joined: 07 Apr 2016 Posts: 1
|
Posted: Thu Apr 07, 2016 12:42 Post subject: Where to find a toolchain for Ralink SoC ? |
|
MIPS-II cross compiler ?
Hello
When i ask linux the version of the current busybox :
file busybox
$ file busybox
i get
busybox: ELF 32-bit LSB executable, MIPS, MIPS-II version 1 (SYSV), dynamically linked (uses shared libs), stripped
so,
I need to compile onto MIPS-II , ie
ELF 32-bit LSB executable, MIPS, MIPS-II version 1 (SYSV)
Which cross compiler to choose ?
Thanks
--- additionnal info :
$ uname -a
Linux WLanHDD 2.6.21 #83 Mon Mar 30 21:08:26 CST 2015 mips unknown
... and by the way :
$ cat /proc/cpuinfo
system type : Ralink SoC
processor : 0
cpu model : MIPS 24K V4.12
BogoMIPS : 239.61
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : yes
hardware watchpoint : yes
ASEs implemented : mips16 dsp
VCED exceptions : not available
VCEI exceptions : not available
$ readelf -h busybox
File: busybox
ELF Header:
Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
Class: ELF32
Data: 2's complement, little endian
Version: 1 (current)
OS/ABI: UNIX - System V
ABI Version: 0
Type: EXEC (Executable file)
Machine: MIPS R3000
Version: 0x1
Entry point address: 0x407a60
Start of program headers: 52 (bytes into file)
Start of section headers: 698588 (bytes into file)
Flags: 0x10001007, noreorder, pic, cpic, o32, mips2
Size of this header: 52 (bytes)
Size of program headers: 32 (bytes)
Number of program headers: 5
Size of section headers: 40 (bytes)
Number of section headers: 21
Section header string table index: 20
--- url
https://gcc.gnu.org/onlinedocs/gcc/MIPS-Options.html
http://unix.stackexchange.com/questions/141038/gcc-toolchain-for-ralink-soc-elf-not-found-and-syntax-error |
|