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 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.

br Kusti


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to