<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
Okay, I found Stephano's package, which is linked to from the FreeRTOS page, and dates from 2010.
swi 0'<br>
makefile:247: recipe for targetDebug/semtest.o' failed
|
This email is free from viruses and malware because avast! Antivirus protection is active. |
Look in portmacro.h, you will probably find something like this:
regards.
Okay, sh#t... I didn't have "case insensitive" selected when I did my search.
Anyway, I found out what's really wrong... The makefile in Stephano's package had a bug: -D STR91XGCC -D STACKLWIP130 -D $(THUMBD) -mcpu=arm966e-s
Notice the absence of a backslash after the THUMBD line - the THUMBD macro doesn't contain a backslash either... so the build lines were being truncated at that point!! Now that I've fixed that bug, I'm getting a different error, that -mcpu is deprecated, replaced by -mtune or -march, so I need to find what the equivalent arguments are...
Dammit ... now I'm trying to use -march= (as recommended by gnu.gcc.org), but I can't find any valid argument that this compiler will accept!! The arm966e-s core is an armv5te architecture... gnu.gcc.org says that -march will accept: ‘armv5’, ‘armv5t’, ‘armv5e’, ‘armv5te’, But I've tried all of these, and my (Yagarto) compiler rejects them all!! How do I proceed from here?? Is there some way to ask gcc which arguments it will accept for -march ??
Later note: Okay, I figured this one out as well... Even though I was explicitly defining CC to point to my ARM compiler chain, make was actually calling some other compiler; I don't even know where it's finding a compiler that is version "cc (GCC) 4.7.3" !!
My three ARM cross compilers are V4.2.2, V4.5.0, and V4.7.4 20130913.
This is very bizarre!! What is clear, however, is that at this point, my problem is with a very complex Makefile, not FreeRTOS. Thus, I will take this somewhere where I can discuss make !!