Difference between revisions of "Cross Compiling"
(→MIPS) |
|||
Line 1: | Line 1: | ||
+ | |||
+ | == 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- | ||
+ | |||
+ | [https://stackoverflow.com/questions/22668565/how-to-add-cross-compiler-to-the-path Source] | ||
== MIPS == | == MIPS == |
Revision as of 14:49, 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-
MIPS
Use to configure:
./configure --host=mipsel-linux