I am trying to compile a user program and seem to be having a problem.
Its not with the program itself as far as I can see because I narrowed
it down to a simple test program, and it still has problems. I have GCC
4.1.1 build tools setup and can compile a kernel just fine. It seems to
compile the program, but fails after that. Here is the error:
ucfront-gcc m68k-elf-gcc -m5307 -DCONFIG_COLDFIRE (DFLAGS) -o test_prog
test_prog.o
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `ucfront-gcc m68k-elf-gcc -m5307 -DCONFIG_COLDFIRE
(DFLAGS) -o test_prog test_prog.o'
make[2]: *** [test_prog] Error 2
I followed the Adding-User-Apps-HOWTO to get the Makefile setup and the
other files all setup. I have double checked all the files to make sure
there isn't any typos. Is the DFLAGS another switch I should be setting
up in the Makefile? or is there something else going on? I am at a
loss how to get this working.
Mike Anderson
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev