can not edit my previous post
i figured it out and
and have a working cross compiler for pineapple
these are the right settings (cpu arch,kernel,uclibc,binutils,gcc version ??? )
this is a example i use for compiling for my mark 5
###################################################### # This tutorial describes how to a build an ARM # # cross-compile toolchain with buildroot. # # # # This allows a user to run his own code on # # an embedded device. # # # # Device = pine apple mark5 # # Host OS = kali linux # ###################################################### # Get the latest version of buildroot cd ~ git clone git://git.buildroot.net/buildroot # Setup buildroot cd buildroot make menuconfig Target options: -> Set 'Target Architecture' to MIPS (big endian) -> Set 'Target Architecture Variant' to mips32 -> Set 'Floating point strategy' to use Soft float Build options: -> Enable compiler cache
choose if you want static or dynamic binary's compiled
static is easy cus it does not require libraries on the pineapple butt sometimes dynamic compiling is needed Toolchain: -> Set 'Kernel Headers' to manually specified -> Set 'Linux version' to 3.3.8 -> Set 'Custom kernel headers series' to 3.3.x -> Set 'C library' to 'uClibc' -> Set 'uClibc version' to 0.9.33.x -> Enable IPv6 support -> Enable RPC support -> Enable WCHAR support -> Set 'Binutils Version' to 2.22 -> Set 'GCC Version' to 4.7.x Save and exit. # Start building toolchain make # When finished, toolchain can be found in ~/buildroot/output/host/usr/bin/ # GCC syntax: ./mips-buildroot-linux-uclibc-gcc <source.c> -o <output file>