Re: [Sdcc-user] Compiling to a different directory

2009-01-15 Thread Kustaa Nyholm
Oops, a bit trigger happy today, works as adverticed, by bad, directory did not exist! Sorry for the interruption. br Kusti >>> kustaa.nyh...@planmeca.com 15.1.2009 10:28 >>> When I try to compile as follows: /usr/local/bin/sdcc -c -mpic16 -p18f4550 --disable-warning 85 --std-sdcc99 main.c -o

[Sdcc-user] Compiling to a different directory

2009-01-15 Thread Kustaa Nyholm
When I try to compile as follows: /usr/local/bin/sdcc -c -mpic16 -p18f4550 --disable-warning 85 --std-sdcc99 main.c -o ../obj/main.o I get: main.c:174: error 4: 'fopen' failed on file '../obj/main.asm' so obviously the compiler is trying to load the intermediate files from the output directory