From: Kustaa Nyholm <Kustaa.N<yholm@pl...> - 2009-01-15 08:29:41
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
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 whereas
(which makes sence) but the compiler itself seems to place the
intermediate files in the current directory.
Is there a compiler switch or something that I'm missing? Or do I need
to 'cd' to the object directory
and compile there? Doable but nuisance.