|  | 1 | Depending on the target, MutekH requires different toolchains. | 
                          |  | 2 |  | 
                          |  | 3 | = Default toolchains = | 
                          |  | 4 |  | 
                          |  | 5 | == SoCLib == | 
                          |  | 6 |  | 
                          |  | 7 | For SoCLib targets, the MutekH build system uses the [https://www.soclib.fr/trac/dev/wiki/CrossCompiler SoCLib default cross-compilers]. | 
                          |  | 8 |  | 
                          |  | 9 | That means it will use: | 
                          |  | 10 | * `mipsel-unknown-elf` | 
                          |  | 11 | * `powerpc-unknown-elf` | 
                          |  | 12 | * `arm-unknown-elf` | 
                          |  | 13 |  | 
                          |  | 14 | == x86 == | 
                          |  | 15 |  | 
                          |  | 16 | For x86, MutekH assumes you are using a x86-elf host and uses your current compiler | 
                          |  | 17 |  | 
                          |  | 18 | == Emu == | 
                          |  | 19 |  | 
                          |  | 20 | For emu targets, MutekH uses you current compiler, except if you are on a Darwin host, in which case it uses a `i686-unknown-elf` toolchain in order to use ELF files. | 
                          |  | 21 |  | 
                          |  | 22 | = Use your own toolchain = | 
                          |  | 23 |  | 
                          |  | 24 | You may use your own toolchains. | 
                          |  | 25 |  | 
                          |  | 26 | == One-shot use == | 
                          |  | 27 |  | 
                          |  | 28 | You may specify the following variables: | 
                          |  | 29 | `CPUTOOLS`:: | 
                          |  | 30 | common prefix of compiler tools, usually something like `mipsel-unknown-elf-` (the last `-` is important) | 
                          |  | 31 | `CPUCFLAGS`:: | 
                          |  | 32 | options for your C compiler, if you have a libc-aware compiler, you may specify `CPUCFLAGS+=-nostdinc` | 
                          |  | 33 | `CPULDFLAGS`:: | 
                          |  | 34 | options for your linker, if you have a libc-aware compiler, you may specify `CPULDFLAGS+=-nostdlib` |