On 31/01/15 13:52, WPB wrote:
[snip]
> Actually printf is on the run path already. And from the command line,
> the printf command works just fine. The error "File '-c' not found" only
> occurs when the command is executed my make.
>
> Thanks for the pointers on '\n' - I was wondering why escaping things
> doesn't work as expected. I don't think it's make's fault. From the
> command line, too, printf commands seem to ignore '\n', and just take
> out the '\'.
>
> I find it hard to believe that this error doesn't come up all the time.
> There must be umpteen makefiles for GCC on RISC OS that use echo or
> printf, and on my setup at least, they all bomb out with the error
> message that is the subject of this thread.
>
> WPB
If you do "make -p", you'll see a number of lines like this:
COMPILE.c = $(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c
If those variables are all empty, then that leaves you with -c,
so I wonder if a compile rule is being invoked with empty
variables somehow.
Lee.
_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK
No comments:
Post a Comment