Re: [Sdcc-user] Error: linker script not specified

2008-02-08 Thread sdcc
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

[Sdcc-user] Error: linker script not specified

2008-02-08 Thread Ken Jackson
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

[Sdcc-user] Error: linker script not specified

2008-02-07 Thread David Henningsson
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 =