David Henningsson schrieb:
> I'm trying to link my program (using sdcc windows snapshot from
> yesterday), using this command:
>
> sdcc -mpic14 -p16f877 main.o sci.o lcd.o delay.o buttons.o trital.o
Try adding
-Wl-s16f877.lkr
to the sdcc call and copy the appropriate lkr file to you project
I don't know the answer to your question, but I think I see a
problem with the Makefile.
Try replacing this line
$(CC) $(CFLAGS) $?
With this:
$(CC) $(CFLAGS) $^
The $? variable gives you "the names of all the prerequisites that
are newer than the target," but you don't want a partial l
I'm trying to link my program (using sdcc windows snapshot from
yesterday), using this command:
sdcc -mpic14 -p16f877 main.o sci.o lcd.o delay.o buttons.o trital.o
And I receive this error:
error: linker script not specified
Any clues? Here's the entire makefile:
--
CC = sdcc
CFLAGS =