Skip to main content
Home Forums 68kMLA GCC-based cross compiler for 68K Macs — #11
Post #11 by michaelengel
Source Forum68kMLA
CategoryDevelopment
Post DateSat, 31 Jan 2015 - 16:12
Original URLhttps://68kmla.org/bb/threads/gcc-based-cross-compiler-for-68k-macs.140/
Post
I tried following this Code68k tutorial I've used before that works using Codewarrior, but I end up with the same error as when I'm trying to compile the retro68Test project. I'm not sure if it's the Retro68Test Makefile that is the problem, or if it's a toolchain bug:
Hmm, the code is not quoted, strange. The problem seems to be with your version of "echo" (which might be an internal function of your shell). The makefile uses "echo -n" to suppress newlines:

        echo -n "-t $code "; \

        cd "$code" && for file in *.dat; do \            echo -n "-r ${file%.dat} rsrc/$code/$file "; \
Your version of echo does not support this option, so it echoes "-n" as text, which is prepended to all "-t" and "-r" command line parameters.

Edit: also can't get the code tag to work...

mp.ls