Just to let the community know that there is a bug in the clfs-embedded book (from svn head) in section 6.8.<br>The faulty command is: make CC="${CC} ${BUILD}"<br><br>The idea is to append the "-mabi" or "-m" flag (set in section 6.3) to the CC variable produced by the Makefile's rules. As it is currently written, the command tries to substitute the (non-existent) $CC variable. Rewriting the command with shell escaping to: make CC="\${CC} ${BUILD}" produces the following error:<br>
Rules.mak:138: *** Recusive variable `CC' references itself (eventually). Stop.<br><br>If the host and the target are both 32-bit (using the -m32 flag), it is safe to just use the command: make. For cross-compiling to other architectures, try the command: make CFLAGS=${BUILD}. I haven't tested the latter command though.<br>
<br>Cheers,<br>Simon.<br><br><br>