Hi,
> Is it possible to just run following:
> sdcc $SOME_SDCC_PARAMS pic18f2455.c
> gpasm $SOME_GPASM_PARAMS pic18f2455.asm
> gplib $SOME_GPLIB_PARAMS pic18f2455.o
Probably yes, the Makefile causes
../../../../bin/sdcc --asm=gpasm -mpic16 -p18f452 \
--std-c99 -I. -I../../../include/pic16 \
-Wa,-q --fommit-frame-pointer --obanksel=9 \
--denable-peeps --optimize-goto --optimize-cmp \
--optimize-df --i-code-in-asm \
-o "../build/libdev/pic18f2455.o" \
-c "pic18f2455.c";
rm -f "../build/libdev/pic18f2455.lib";
gplib -c "../build/libdev/pic18f2455.lib" ../build/libdev/pic18f2455.o
to create pic18f2455.lib from pic18f2455.c. Maybe this is what you want,
after having adjusted some path names?!? In your case, I would also
replace -p18f452 with the actual device used, i.e. -p18f2455. I will
look into the Makefile to see why this is not done in the default libs
and change it (if it's not too difficult ;-))...
Regards,
Raphael
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user