Re: [gccsdk] make: File '-c' not found

2015-02-01 Thread Duncan Moore
On 31/01/2015 16:31, WPB wrote: CC = g++ FC = g++ PC = g++ CXX = g++So the command should at least produce a different error to File -c not found. But the result of make was exactly the same as before. The -c is coming from the shell. Try this: *set UnixEnv$.SHELLFLAGS *make printf

Re: [gccsdk] make: File '-c' not found

2015-02-01 Thread WPB
On Sun, 01 Feb 2015 12:01:34 -, Ron b...@woosh.co.nz wrote: The dash error for this is better -as long as it still does it when being called from make. $ printfMaking dir...\n /ADFS::Trav.$/home/bin/sh: 8: printfMaking dir...\n: not found put a space after printf and all is well. $

Re: [gccsdk] make: File '-c' not found

2015-02-01 Thread Ron
In message 54ccff8d.90...@gmx.com Duncan Moore duncan.mo...@gmx.com wrote: On 31/01/2015 13:11, Duncan Moore wrote: As to why \n is causing problems, I'm not sure. It looks like some weird interaction between 'make' and 'printf'. I'm wondering if it's due to 'make' calling

Re: [gccsdk] make: File '-c' not found

2015-02-01 Thread WPB
On Sun, 01 Feb 2015 09:38:56 -, Duncan Moore duncan.mo...@gmx.com wrote: On 31/01/2015 16:31, WPB wrote: CC = g++ FC = g++ PC = g++ CXX = g++So the command should at least produce a different error to File -c not found. But the result of make was exactly the same as before. The -c

[gccsdk] Dependencies using a relative path or system variable

2015-02-01 Thread WPB
Hi all, Seeing as you're all game ;)... The makefile I'm trying to beat into submission now gets to the point where it builds a dependency file using the following command: g++ -M $(CPPFLAGS) $(SRC) $(DEPSFILE) This generates output in $(DEPSFILE) that looks like this: vertex.o:

Re: [gccsdk] make: File '-c' not found

2015-02-01 Thread Duncan Moore
On 01/02/2015 13:02, WPB wrote: On Sun, 01 Feb 2015 09:38:56 -, Duncan Moore duncan.mo...@gmx.com wrote: On 31/01/2015 16:31, WPB wrote: CC = g++ FC = g++ PC = g++ CXX = g++So the command should at least produce a different error to File -c not found. But the result of make was exactly

Re: [gccsdk] Dependencies using a relative path or system variable

2015-02-01 Thread Duncan Moore
On 01/02/2015 14:02, WPB wrote: g++ -M $(CPPFLAGS) $(SRC) $(DEPSFILE) This generates output in $(DEPSFILE) that looks like this: vertex.o: src/vertex.cpp \ /HostFS::HostFS.$$/AppsInUse/Dev/GCC474r1/!GCC/bin/../lib/gcc/arm-unknown-riscos/4.7.4/../../../../include/c++/4.7.4/iostream

Re: [gccsdk] Dependencies using a relative path or system variable

2015-02-01 Thread Theo Markettos
On Sun, Feb 01, 2015 at 02:02:48PM -, WPB wrote: What would be great is if there was a way to make the dependencies output use a RISC OS system variable -- ideally GCCbin$Path looks the most sensible -- so that absolute paths aren't hard-coded into the dependencies file in the first place.