Yes it was an error in my typing, but that is why it confused me. I had ($LDFLAGS) instead of $(LDFLAGS). Sorry for the question on a stupid typo. Mike Anderson
________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harry Gunnarsson Sent: Monday, September 10, 2007 9:19 AM To: uClinux development list Subject: Re: [uClinux-dev] Re: user program compile problems Based on what I see in your compile log below, I'd say that there must be a typo in your makefile. You pass (DFLAGS) directly on the compile line, a reasonable guess would be that you indened to call the compiler with $(DFLAGS). Harry On 9/10/07, Mike Anderson <[EMAIL PROTECTED]> wrote: Sorry if I wasn't clear. I was following the instructions in the uClinux/Documentation directory. The result I got was from running the command 'make user/testprog_only' at the bash shell. I will attach the complete compile error so there is no confusion and it may help with the problem. I can't run the command from the command line because it can't find the link to ucfront-gcc. I thought that was because it was setup by the compilation process from the Makefile, but I am not real familiar with that whole process. Here is the execution output. [EMAIL PROTECTED]:~/uclinux/kernel/uClinux-dist$ make user/testprog_only make[1]: Entering directory `/home/manderson/uclinux/kernel/uClinux-dist/user' touch testprog/.sgbuilt_user && make -j1 -C testprog make[2]: Entering directory `/home/manderson/uclinux/kernel/uClinux-dist/user/testprog' ucfront-gcc m68k-elf-gcc -m5307 -DCONFIG_COLDFIRE -Os -g -fomit-frame-pointer -pipe -fno-common -fno-builtin -Wall -DEMBED -msep-data -Dlinux -D__linux__ -Dunix -D__uClinux__ -c -o test_prog.o test_prog.c 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 make[2]: Leaving directory `/home/manderson/uclinux/kernel/uClinux-dist/user/testprog' make[1]: *** [testprog_only] Error 2 make[1]: Leaving directory `/home/manderson/uclinux/kernel/uClinux-dist/user' make: *** [user/testprog_only] Error 2 Mike Anderson -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Claude Sent: Saturday, September 08, 2007 5:29 PM To: [email protected] Subject: [uClinux-dev] Re: user program compile problems Hi Mike, I'm not sure that "ucfront-gcc m68k-elf-gcc -m5307 -DCONFIG_COLDFIRE (DFLAGS) -o test_prog test_prog.o" is a valid call. I have never used this kind of syntax to run gcc. Is there any possibility to run "ucfront-gcc m68k-elf-gcc -m5307 - DCONFIG_COLDFIRE -o test_prog test_prog.o" instead? Anyway I'd rather recommend you refering to uclinux doc files in Documentation directory. There is a pretty example of how compiling your own apps under uclinux. I did that and found no problem. Hope this helps Claude _______________________________________________ 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 _______________________________________________ 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
_______________________________________________ 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
