I have used qnx 6.3.0 and 6.2.1
To make a static library, as you see below i used ‘ar’. but some error happned. Threre was no problem to make a object file.
Please, help me…
$ make
ar uvsc …/…/libmgtcan.a mgtcan.o
ar: …/…/libmgtcan.a: No such file or directory
make: *** […/…/libmgtcan.a] Error 9
Makefile******
.SUFFIXES = .c .o
OBJECTS = mgtcan.o
SRCS = $(OBJECTS:.o=.c)
CC = qcc
INCDIR = -I./include
CFLAGS = -Vgcc_ntoppcbe $(INCDIR)
LIBES = $(SYSLIBS)
PROG = …/…/libmgtcan.a
$(PROG) : $(OBJECTS)
ar uvsc $(PROG) $(OBJECTS) $(LIBES)
rm -f *.o
clean :
rm -rf $(OBJECTS) core