Difference between revisions of "Cross Compiling"

From HyperSecurity Wiki
Jump to: navigation, search
(MIPS)
(MIPS)
Line 8: Line 8:
  
 
== MIPS ==
 
== MIPS ==
 +
 +
export ARCH=mips
 +
export PATH=/opt/imgtec/Toolchains/mips-img-linux-gnu/2017.10-05/bin/:$PATH
 +
export CROSS_COMPILE=mips-img-linux-gnu-
  
 
Use to configure:
 
Use to configure:
 
  ./configure --host=mipsel-linux
 
  ./configure --host=mipsel-linux

Revision as of 14:54, 1 July 2021

Setup PATH Example

export ARCH=arm
export PATH=/home/demetres/CodeSourcery/Sourcery_CodeBench_Lite_for_ARM_GNU_Linux/bin/:$PATH
export CROSS_COMPILE=arm-none-linux-gnueabi-

Source

MIPS

export ARCH=mips
export PATH=/opt/imgtec/Toolchains/mips-img-linux-gnu/2017.10-05/bin/:$PATH
export CROSS_COMPILE=mips-img-linux-gnu-

Use to configure:

./configure --host=mipsel-linux